docs: COR-102 - Interpolation for circle & ellipse objects [SDK]#1094
Closed
srikar-yantrapragada-encord wants to merge 1 commit into
Closed
docs: COR-102 - Interpolation for circle & ellipse objects [SDK]#1094srikar-yantrapragada-encord wants to merge 1 commit into
srikar-yantrapragada-encord wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the docstring of the object_interpolation method in encord/project.py to document that object interpolation is now supported for circle and ellipse shapes, in addition to bounding boxes, polygons, and keypoints. There are no review comments, and I have no additional feedback to provide.
Contributor
Unit test report (Python 3.9.24, Pydantic 2.12.3)580 tests 580 ✅ 15s ⏱️ Results for commit fa895ea. |
Contributor
Unit test report (Python 3.9.24, Pydantic 1.10.22)580 tests 580 ✅ 12s ⏱️ Results for commit fa895ea. |
| """Run object interpolation algorithm on project labels (requires an editor ontology and feature uids). | ||
|
|
||
| Interpolation is supported for bounding box, polygon, and keypoint. | ||
| Interpolation is supported for bounding box, polygon, keypoint, circle and ellipse. |
Contributor
There was a problem hiding this comment.
is this exhaustive? aren't all shapes supported?
There was a problem hiding this comment.
i missed that - yes, all shapes are supported.
arthur-encord
approved these changes
May 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linear: COR-102
Summary
One-line docstring update on
Project.object_interpolationto mention circle and ellipse as supported shapes.Why doc-only
Project.object_interpolationis shape-agnostic — it forwardskey_frames+object_hashesstraight to the backend's public-interpolation endpoint, which dispatches per-shape. The companioncord-backendPR (feat: COR-102 - Interpolation for circle & ellipse objects) adds the dispatch; no SDK code change is needed.SDK label-model support for
Shape.ELLIPSE/EllipseCoordinates(theencord.objectstype system) is unrelated and out of scope.Test plan
ruff check encord/project.py— passes.ruff format --checkfinding atencord/project.py:227(multi-lineassert) is unrelated and intentionally untouched.