Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

What does the ValueError : could not broadcast from input array(1) to input array(2) mean?

$
0
0
import numpy as np import cv2 from matplotlib import pyplot as plt while(1): img=cv2.imread('D:\IMG_0590_1.jpg') ball = img[278:104, 330:158] img[181:355, 100:274] = ball cv2.imshow('img',img) if cv2.waitKey(10) & 0xFF == ord('q'): break cv2.destroyAllWindows() This is my code but it is giving the error mentioned in the question. What is the problem?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>