Skip to content

Add IplImage constraints for Bonsai.Vision operators #135

Description

@banchan86

Some Bonsai.Vision operators that use OpenCV functions have constraints on the input IplImage that are not documented in the operator description or XML doc comments.

For example, the GoodFeaturesToTrack operator only accepts an 8-bit or 32 bit, single channel image.

The resulting error is hard to parse. For instance, using this operator on a normal RGB camera image results in:

Assertion failed: src.type() == CV_8UC1 || src.type() == CV_32FC1 in function cv::cornerEigenValsVecs, corner.cpp(263)

It would be good to document these somewhere. I am thinking the operator description would be the most visible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions