Tomni

Latest version: v2.2.2

Safety actively analyzes 701595 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

2.2.2

------------------
- Update bbox_fitting so padding_value can be float

2.2.1

------------------
- Update numpy, opencv, and shapely requirements
- Upgrade setup.cfg to use pyproject.toml

2.2.0

------------------
- function add_area subtracts the inner area when inner points are present.
- function flipping now flips the inner contours as well.
- function rotation now rotates inner contours.
- function scale_json now scales inner contours.

2.1.0

------------------
- translation_json function can now also translate the inner points

2.0.0b3

------------------
- Added check for rectangled contours.
- Adds extra point if rectangle.
- This allows us to initialize masks (of wells) that only consist of 4 points if required in the future.
- Added unittests for empty and full masks from binary_mask and from_labeled_mask
- Changed variable name in `ellipse` class from r1/r2 to diameter_1/diameter_2 etc for naming clarity.
- BUGFIX: Multiplied minor axis and major axis by 2 in `ellipse` class, which was currently calculated as radii instead of diameters.
- BUGFIX: Fixed average diameter in `ellipse` class, which was calculated with radii instead of diameters.
- BUGFIX: removed assert, which took over half the time of the entire `from_binary_mask`.
- BUGFIX: Fixed unittest labels2listsOfPoints

2.0.0b2

------------------
- Moved feature_multiplier and metric_unit to to_dict() from from_dict().
- Added inner contours options
- added binary2contours
- change parameters for from_binary_mask
- made contours2polygon

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.