HumanSignal / label-studio-sdk

Label Studio SDK
https://api.labelstud.io
Apache License 2.0
99 stars 61 forks source link

fix: Change YOLO import default image extension choices to .jpg, .jpeg, .png #353

Open EdjeElectronics opened 1 week ago

EdjeElectronics commented 1 week ago

This simple PR fixes the default image extension choices when using label-studio-converter to import YOLO data.

Ultimately, this change makes it easier for a new user to use label-studio-converter without having to know about the --image-ext argument, which isn't documented anywhere. The Tutorial: Importing Local YOLO Pre-Annotated Images to Label Studio doesn't discuss the --image_ext argument at all, so new users could potentially be tripped up when they try to import images that aren't .jpg.