Enhance Video and Image Handling, Add Interactive Query Mode #93
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.
Dear Project Maintainer,
I am excited to submit a pull request for the recent enhancements I have made to the project. The changes include:
Improved Video and Image Directory Handling: The
read_video_from_path
function has been updated to support both video files and directories containing images. It intelligently detects the type of path provided and processes it accordingly, ensuring seamless integration of various media sources.Interactive Query Mode for User-Defined Tracking: A new feature has been added to allow users to define tracking queries interactively by clicking on video frames. This is enabled through the
--interactive_query
flag in the command-line interface, providing users with the flexibility to specify tracking targets based on their specific requirements.Updated README.md: The documentation has been updated to include instructions for running offline demos with grid sampling on images and videos. It also provides details on how to use the interactive query feature for point selection using mouse clicks.
These enhancements aim to improve the user experience and expand the functionality of the project. I have thoroughly tested these changes and ensured they integrate smoothly with the existing codebase.
Please review the changes at your convenience. I am looking forward to your feedback and am available to discuss any aspects of the pull request.
Best regards,
0iui0