Skip to content

[QUESTION|BUG] Mismatched type 'Mat' and 'opencv::opencv::hub::core::Mat' #8

@charl-alvs

Description

@charl-alvs

mismatched type 'Mat' and 'opencv::opencv::hub::core::Mat' have similar names, but are actually distinct types perhaps two different version of crate 'opencv' are being used?

let mut frame = imread("images/persons.jpg", 1).unwrap();
let (bboxes, class_ids, confidences) = model.forward(&frame, 0.25, 0.4).unwrap();

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions