+ 2
How to solve the error? Because the image gets weird and all blue. Why is it turning blue?
https://code.sololearn.com/ciKYD7PsGDWy ''' without line number 44: error:line 48, in <module> cv2.rectangle(frame, (20,320),(150,440) , (0,255,0), 3) TypeError: Layout of the output array img is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels) '''
1 Réponse
+ 1
Raunak Jalan SoloLearn does not support the Pygame module, Thats why you have a error message.
https://www.sololearn.com/discuss/1562452/?ref=app