Ask Your Question

lalit's profile - activity

2019-08-14 12:19:05 -0600 received badge  Supporter (source)
2019-08-14 12:18:57 -0600 marked best answer Problem in copying part of image to another

How to resolve this problem

>>> img=cv2.imread("d:\\OCR Readers\\CPU images\\50190025579077\\AO_Form_1.jpeg")
>>> img.shape
(1000, 800, 3)
>>> part=img[400:440, 1080:1515]
>>> img2=cv2.imread("d:\\OCR Readers\\white1.png")
>>> img2.shape
(2338, 1651, 3)
>>> img2[15:55, 130:565]=part

ValueError: could not broadcast input array from shape (40,0,3) into shape (40,435,3)
2019-08-14 12:18:57 -0600 received badge  Scholar (source)
2019-08-14 12:18:33 -0600 commented answer Problem in copying part of image to another

Thank you very much. got the concept and resolved the problem.

2019-08-12 14:33:12 -0600 asked a question Problem in copying part of image to another

Problem in copying part of image to another img=cv2.imread("d:\OCR Readers\CPU images\50190025579077\AO_F