can you help me please? #35
PamelaTriutami7845
started this conversation in
General
Replies: 1 comment
-
path = "../images/images.jfif" cv2.resize("TrackBars", (640, 240)) Rest of the things are right!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
error:
cv2.error: OpenCV(4.5.5) 👎 error: (-5:Bad argument) in function 'resize'
mycode:
import cv2
def empty():
pass
path = "../images/images.jfif"
cv2.namedWindow("TrackBars")
cv2.resize("TrackBars",640,240)
cv2.createTrackbar("Hue min","TrackBars",0,179,empty)
img = cv2.imread(path)
imgHSV = cv2.cvtColor(img,cv2.COLOR_BGR2HSV)
cv2.imshow("original", img)
cv2.imshow("imagesHSV", imgHSV)
cv2.waitKey(0)
Beta Was this translation helpful? Give feedback.
All reactions