1
0
forked from HQU-gxy/CVTH3PE
Commit Graph

3 Commits

Author SHA1 Message Date
3ce5b564bf feat: Add beartype for runtime type checking and update dependencies
- Add beartype dependency to pyproject.toml and uv.lock
- Replace typeguard with beartype in type checking
- Create camera module with type-safe camera parameter definitions
- Migrate utility function to use beartype and JAX numpy
2025-03-06 18:35:43 +08:00
a06b3e8399 feat: Add perpendicular distance calculation utility function
Implemented a utility function `calculate_perpendicular_distance` in the `app/utils/__init__.py` module. The function calculates the perpendicular distance between a point and a line using NumPy, with type hints and runtime type checking using jaxtyping and typeguard.
2025-03-04 17:34:27 +08:00
25a66cd95c x 2025-03-03 11:37:05 +08:00