Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

input.channels() for number of channels

input.type() is one of CV_8U, CV_32F, CV_64F ...

I'm hoping someone knows an easier way. input.type() just returns an int, which means you have to look it up. It would be nice if there's a version that outputs a string, for easier debugging.