NaturalIntelligence / imglab

To speedup and simplify image labeling/ annotation process with multiple supported formats.
https://solothought.com/imglab/
MIT License
985 stars 608 forks source link

does not load project in "nimn" format #177

Open alex89607 opened 4 years ago

alex89607 commented 4 years ago

Describe the bug does not load project in "nimn" format with polygons

To Reproduce it can be reproduced at online(https://imglab.in/#) and local(http://localhost/imglab) version at the same time:

  1. open picture, draw one polygon.
  2. save project at NIMN format ("test.nimn")
  3. reload page and open same picture
  4. select picture at bottom
  5. open project("test.nimn")
  6. click on picture at bottom - see nothing (lack of polygon)

Console Errors None

**Device detail

  1. windows 10/64. Firefox 75.0 (64-битный) Chrome Версия 81.0.4044.92 (Официальная сборка), (64 бит)

**Additional information JSON save\load works well

franz101 commented 3 years ago

Having another bug when opening: TypeError: point.map is not a function. (In 'point.map(val => val * scale)', 'point.map' is undefined)