Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #148

Merged
merged 4 commits into from
Feb 24, 2025
Merged

Dev #148

merged 4 commits into from
Feb 24, 2025

Conversation

Jordan-Pierce
Copy link
Owner

No description provided.

…tion to include the area and perimeter

Update the `to_dict()` method for `PolygonAnnotation` and `RectangleAnnotation` to include area and perimeter.

* Update `to_dict()` method in `coralnet_toolbox/Annotations/QtPolygonAnnotation.py` to include `area` and `perimeter` using `calculate_area()` and `calculate_perimeter()` methods.
* Update `to_dict()` method in `coralnet_toolbox/Annotations/QtRectangleAnnotation.py` to include `area` and `perimeter` using `calculate_area()` and `calculate_perimeter()` methods.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Jordan-Pierce/CoralNet-Toolbox/tree/dev?shareId=XXXX-XXXX-XXXX-XXXX).
Update the to_dict() method for PolygonAnnotation and RectangleAnnotation to include the area and perimeter
@Jordan-Pierce Jordan-Pierce merged commit cc8dcc8 into main Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant