Cartucho / OpenLabeling

Label images and video for Computer Vision applications
Apache License 2.0
926 stars 265 forks source link

How to label a video? #70

Closed FengZhiheng closed 4 years ago

FengZhiheng commented 4 years ago

Hello João Cartucho

Can OpenLabeling label a video? For example frame 1 to 100 are class 1, frame 101 to 200 are class2. When I put my video(mp4 format) in input/. I got some errors: Traceback (most recent call last): File "D:/PythonProject/OpenLabeling-1.3/run.py", line 357, in <module> cv2.createTrackbar(TRACKBAR_IMG, WINDOW_NAME, 0, last_img_index, change_img_index) cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\highgui\src\window_w32.cpp:2059: error: (-211:One of arguments' values is out of range) Bad trackbar maximal value in function 'icvCreateTrackbar'

FengZhiheng commented 4 years ago

Ok. I got it. I need to run this project ‘OpenLabeling-master’ not 'OpenLabeling-1.3'. In 'OpenLabeling-master' project I can label my video. Thanks so much