Skip to content

Input expected by caffe model #24

@marcobarnobi

Description

@marcobarnobi

I am trying to use this caffe` model in a c++ framework, with OpenCV.dnn. To do this I need to know what is the input format expected by the model.

Right now what I do is resizing my faces to cv::Mat 40x40, subtracting mean, dividing by std.
At this point I need to know what datatype the input should be, is it float32?
Finally I need to know if the input is RGB or BGR.

Could you provide this information and let me know if I am missing/doing wrong some preprocessing step?
Many thanks

@ishay2b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions