Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your image was not loaded (and thus you feed an empty image into cvtColor(),

you MUST CHECK the result of imshow() before proceeding !!!

(and seriously, that must be the 5000th time we answer this question here....)