Typefully

Tip #2 - How not to embed imageData in JSON

Avatar

Share

 • 

2 years ago

 • 

View on X

"How not to embed imageData into JSON?" 🧑🏻‍💻 This saves dataset storage size if you need to distribute "image file + JSON file" anyway. Here are 3 ways:
Option 1) via Command line You can pass `--nodata` option when you launch `labelme`:
Option 2) via GUI Before saving the annotation, you can uncheck: File > Save With Image data
Option 3) via Config You can edit ~/.labelmerc and set `store_data: false`. This makes the default of the checkbox in Option 2 unchecked when you open next time.
That's a wrap! If you found this thread useful: 1. Follow me @labelmeai for more 2. RT the tweet below to share this thread with your friends If you have questions like this, ask me: twitter.com/messages/compose?recipient_id=1728605699742355456 twitter.com/labelmeai/status/1732701365997064448
Avatar

Labelme

@labelmeai

"Private and Flexible Image Annotation with/for AI" | Follow for tips and updates. | Blog: typefully.com/labelmeai | Created by: @wkentaro_