Skip to content

Add IplImage constraints for Bonsai.Vision operators #135

Open
@banchan86

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.

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