CSAILVision / CSAILVision/LabelMeAnnotationTool

"Uncaught TypeError: Cannot read property 'time_point' of null" Error in Mask Tool

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
443
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.