pollen-robotics / pollen-vision

Simple and unified interface to zero-shot computer vision models curated for robotics use cases.
https://www.pollen-robotics.com
Apache License 2.0
94 stars 5 forks source link

42 write unit tests #127

Closed FabienDanieau closed 6 months ago

FabienDanieau commented 6 months ago

Adding unit tests for undistort, check epilines so the main opencv function are covered. + other minor tests Some data files containing pre recorded results are also added.

github-actions[bot] commented 6 months ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
709 411 58% 0% 🟢

New Files

File Coverage Status
pollen_vision/pollen_vision/camera_wrappers/depthai/calibration/undistort.py 89% 🟢
pollen_vision/tests/test_calib.py 100% 🟢
pollen_vision/tests/test_utils.py 100% 🟢
TOTAL 96% 🟢

Modified Files

File Coverage Status
pollen_vision/pollen_vision/camera_wrappers/depthai/cam_config.py 100% 🟢
pollen_vision/pollen_vision/camera_wrappers/depthai/wrapper.py 18% 🟢
pollen_vision/tests/test_config.py 100% 🟢
TOTAL 73% 🟢

updated for commit: bce244a by action🐍