Implemented dora-cotracker node#931
Conversation
|
again @haixuanTao there is no change outside of node-hub, so the required CI is not triggered :) |
|
@ShashwatPatil Maybe you can put the demo video on the PR ;) |
I will make a demo video; but where should I put it? and I was thinking of making a example that would uses yolo and track them using the co-tracker? How does this sound. P.S it will take some time from my end to make them, due to college work 🤧... but will try to make them on coming Friday |
Great!! Don't worry, take your time. You can either add the media directly on the PR (drag and drop will upload it), or make a YT video and put the link here! |
|
@Hennzau @haixuanTao I have added the link to the demo video in readme. |
|
Looks great, thanks! |
This pull request introduces a new Dora node for real-time object tracking using Facebook's CoTracker model addressing #921 . The changes include new features, configuration files, and documentation to support the implementation and usage of this node.
Key changes include:
New Features and Implementation:
VideoTrackingNodeclass indora_cotracker/main.py, which includes methods for initializing the CoTracker model, handling mouse clicks for point selection, processing video frames for tracking, and running the main loop.Configuration and Setup:
pyproject.tomlfile to define the project metadata, dependencies, and development dependencies, as well as to configure therufflinter.demo.ymlconfiguration file to set up a sample data flow for the node, including camera input, tracker, and display nodes.Documentation and Testing:
README.mdfile that includes an overview of the node, installation instructions, usage examples, API reference, and development guidelines.tests/test_dora_cotracker.pyto ensure the main function can be imported and run, catching runtime exceptions when not running in a Dora dataflow.