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
I used the detect_live function from visualize.py. It reports a blue item as a red one and reports a red item as blue.
Here use openCV to capture video from the camera and directly grab frames to predict. video = cv2.VideoCapture(0) ret, frame = video.read()
Since the training set is PIL format and the frames are openCV format, this function should convert the color format from BGR to RGB.
The text was updated successfully, but these errors were encountered:
I used the detect_live function from visualize.py. It reports a blue item as a red one and reports a red item as blue.
Here use openCV to capture video from the camera and directly grab frames to predict.
video = cv2.VideoCapture(0)
ret, frame = video.read()
Since the training set is PIL format and the frames are openCV format, this function should convert the color format from BGR to RGB.
The text was updated successfully, but these errors were encountered: