Skip to content

feat: add fitEllipse and feature-tracking bindings, and support PointVectorOfVectors in drawing APIs - #116

Merged
lukaszkurantdev merged 3 commits into
lukaszkurantdev:mainfrom
giladrv:pr/upstream-all
Aug 3, 2026
Merged

feat: add fitEllipse and feature-tracking bindings, and support PointVectorOfVectors in drawing APIs#116
lukaszkurantdev merged 3 commits into
lukaszkurantdev:mainfrom
giladrv:pr/upstream-all

Conversation

@giladrv

@giladrv giladrv commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a few OpenCV bindings and one drawing API fix:

  • add fitEllipse
  • add calcOpticalFlowPyrLK
  • add estimateAffinePartial2D
  • extend goodFeaturesToTrack
  • support PointVectorOfVectors in drawContours, fillPoly, and polylines

Why

These changes expose a few missing APIs that are useful for shape fitting and feature-tracking workflows, and fix drawing functions that currently do not accept nested point-vector inputs.

Included

  • native binding updates in cpp/FOCV_Function.cpp
  • TS wrapper updates in the image-processing modules
  • docs updates for the added functions
  • a fitEllipse example in the example app

Notes

The changes are intended to be additive and backward-compatible.

Testing

  • validated the new bindings in the example app
  • verified the updated drawing functions accept PointVectorOfVectors

@lukaszkurantdev
lukaszkurantdev merged commit 5009b25 into lukaszkurantdev:main Aug 3, 2026
3 checks passed
@lukaszkurantdev

Copy link
Copy Markdown
Owner

Thanks for PR. I've merged changes, but unfortunately functions calcOpticalFlowPyrLK and estimateAffinePartial2D are outside a current opencv build used in project. To make library consented between iOS and Android I decided to remove it from the scope.

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.

2 participants