Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frozen image, not changing while moving slide bar or clicking next #33

Closed
arnaud-nt2i opened this issue Aug 20, 2020 · 2 comments
Closed

Comments

@arnaud-nt2i
Copy link

arnaud-nt2i commented Aug 20, 2020

Hi!

First, thank you @developer0hye for this repo, this sounds like a really handy alternative of the famous Yolo annotation tools.

I'm trying to use Yolo-Label With some random images and the whole interface seems to freeze with my images.

I have no problem with the same images on Yolo-Mark.

All files are .jpg but some are .jfif rename to .jpg, could this be the pb?

In the zip file below is two images on which the pb occurs.

Is there a quick fix I can set up?

By the way, is there a method to create the "train.txt" file with all the images' names (one per line)?

img2.zip

@arnaud-nt2i
Copy link
Author

arnaud-nt2i commented Aug 20, 2020

I have found a workaround by rewriting every image in jpg file using a python script:

python code

import cv2
import os

img_path = 'C:\...' #Complete with Path to Images file
all_file = os.listdir(img_path)
os.chdir(img_path) # very important
for filename in all_file: #insert tab before the two following lines
img=cv2.imread(filename)
cv2.imwrite(filename,img,[int(cv2.IMWRITE_JPEG_QUALITY), 100])

@developer0hye
Copy link
Owner

@arnaud-nt2i
Did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants