CSAILVision / CSAILVision/LabelMeAnnotationTool
"Uncaught TypeError: Cannot read property 'time_point' of null" Error in Mask Tool
- Lingua principale
- JavaScript
- Stelle
- 1.5k
- Fork
- 443
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello author,
Thank you for providing such a useful tool for everyone to use.
When I use the Mask Tool to draw the mask, and press the Done button. I cannot add polygon. I can find the "**Uncaught TypeError: Cannot read property 'time_point' of null**" error message in the Console.
I can correct this error by modifying the following code:
https://github.com/CSAILVision/LabelMeAnnotationTool/blob/0e8b9f51ac528669dac27e7ddedb6aec8d1af056/annotationTools/js/handler.js#L313-L314
To:
`html_str += '' + anno.time_point[0] + '';`
`html_str += '' + anno.time_point[1] + '';`
Hope this finding can help everyone.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start in annotationTools/js/handler.js around lines 313-314 and reproduce the Mask Tool flow: draw a mask, press Done, then try to add a polygon while watching the console. Inspect how anno.time_point is handled when it is null. Done means the polygon can be added without the reported TypeError and the generated annotation output remains valid.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- computer-vision
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 58/100