Paper-Chart-Extraction-Project / ChartExtractor

ChartExtractor uses computer vision to convert images of paper charts to digital data.
https://paper-chart-extraction-project.github.io/ChartExtractor/
GNU General Public License v3.0
3 stars 1 forks source link

Test annotations #4

Closed RyanDoesMath closed 4 months ago

RyanDoesMath commented 4 months ago

Add tests for the annotations module

This pull request adds unit tests for the annotations module, covering functionalities of the BoundingBox and Keypoint classes.

Tests for BoundingBox class:

Tests for Keypoint class:

Also fixed a couple small issues the tests found. Mostly warning and error messages.