Hmmm, weird indeed, tried to have a quick look at it but did not find anything out of place. @robotanton could you please have a look when you have a chance?
@CeeYaa, thank you for reporting this. It looks like that something was changed in VL.OpenCV regarding the ImageReader or even deeper (@ravazquez)?
Yolo needs an RGB (or BGR) image (it can be BW, but still has 3 channels), but in the example with “MargaretHamilton.jpg” the ImageReader returns CV_8UC1 (one channel image) by default. Setting the ‘Flags’ pin of the ImageReader to ‘Color’ solves the problem.
I’ve checked the MargaretHamilton’s format: it is JPEG Grayscale (v1.1) which is very rare. Most of JPEGs are JPEG TrueColor (v1.1).
@robotanton you are correct, ImageReader’s Flags was changed from “Color” to “Unchanged” which is more appropriate in general but in the case of this image and the example is causing issues. I proceeded to change the help patch to have the flag set to Color which should prevent any further issues.