Skip to content

Small error I can't figure out #3

@ookikoi

Description

@ookikoi

Hiya,

Your code looks great, compiling it fine (osx el capitan).
At run time I get:
OpenCV Error: Assertion failed (scn == 1 && (dcn == 3 || dcn == 4)) in cvtColor, file /tmp/opencv20160107-29960-t5glvv/opencv-2.4.12/modules/imgproc/src/color.cpp, line 3791
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv20160107-29960-t5glvv/opencv-2.4.12/modules/imgproc/src/color.cpp:3791: error: (-215) scn == 1 && (dcn == 3 || dcn == 4) in function cvtColor

I've tried different with different transform values but to no avail.

Any small pointer in the right direction would be much appreciated!

Thanks

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