You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a dlib xml is imported and the data is exported as pascal VOC the xmax and ymax values are wrong. It seems like the additions in lines 38/39 of pascal_voc.js are receiving string values for shape.bbox.x and shape.bbox.w this leads to a string concatenation when an int addition is intended.
To Reproduce
Steps to reproduce the behavior:
import data in dlib xml format
Click on save --> Pascal VOC XML
See error in exported file
Quick fix by changing lines 38/39 of pascal_voc.js from
This repository is currently out of maintenance due to insufficient time. Any bug, feature, or query may take longer time than expected or may lose in void.
If a dlib xml is imported and the data is exported as pascal VOC the xmax and ymax values are wrong. It seems like the additions in lines 38/39 of pascal_voc.js are receiving string values for shape.bbox.x and shape.bbox.w this leads to a string concatenation when an int addition is intended.
To Reproduce
Steps to reproduce the behavior:
Quick fix by changing lines 38/39 of pascal_voc.js from
to
The text was updated successfully, but these errors were encountered: