You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
The text was updated successfully, but these errors were encountered:
Sowmya180801
changed the title
please solve my error in your code I found it will testing
please solve my error in your code I found it while testing
Nov 23, 2022
error Traceback (most recent call last)
Input In [10], in <cell line: 1>()
1 if name == 'main':
----> 3 trackMultipleObjects()
Input In [9], in trackMultipleObjects()
266 print(datetime.datetime.now())
267 cropped_image[i] = image[y1:y1+h1+25, x1:x1+w1+25]
--> 269 LPN[i] = detection(cropped_image[i])
270 print(LPN[i])
273 a = int(a) + int(1)
Input In [7], in detection(image_1)
2 height = 900
3 width = 700
----> 5 img = cv2.cvtColor(image_1, cv2.COLOR_RGB2GRAY)
6 car_image = cv2.resize(img, (width,height))
7 img_1 = cv2.resize(img, (width,height))
error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
The text was updated successfully, but these errors were encountered: