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

Add OpenCV MIL tracker tool #4200

Merged
merged 20 commits into from
Feb 7, 2022
Merged

Add OpenCV MIL tracker tool #4200

merged 20 commits into from
Feb 7, 2022

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Jan 19, 2022

Motivation and context

This pr is next step of integration OpenCV into CVAT. Browser tracking provided by OpenCV.js can be useful on simple objects because its quite fast.

ezgif com-gif-maker

TODO:

  • Add OpenCV.js with tracking module
  • Add tracking tool
  • Implement tracking on change frame
  • Support user adjustments
  • Test with lots of tracking objects
  • Test with server-side tracking

How has this been tested?

Manual testing at this moment.
If you want to try this PR, you need update opencv version properly: python manage.py collectstatic --clear

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

Copy link

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@klakhov klakhov changed the title [WIP] Add OpenCV MIL tracker tool Add OpenCV MIL tracker tool Jan 27, 2022
@bsekachev
Copy link
Member

bsekachev commented Jan 31, 2022

Hmm, my web page gets frozen after OpenCV library is fully downloaded

record

This behaviour is stable in different tasks

@bsekachev
Copy link
Member

Hi,

  • Collectstatic does not clear old opencv version, so, the server gives it to UI and UI is frozen
  • N button does not work to create one more object
  • "No trackers available" (send you scenario)
  • Tracker does not work in the following scenario:
    demo1

@klakhov klakhov changed the title Add OpenCV MIL tracker tool [WIP] Add OpenCV MIL tracker tool Jan 31, 2022
@klakhov klakhov changed the title [WIP] Add OpenCV MIL tracker tool Add OpenCV MIL tracker tool Jan 31, 2022
@klakhov
Copy link
Contributor Author

klakhov commented Jan 31, 2022

@bsekachev I've fixed scenarios you mentioned above.

It seems that to migrate to new opencv version properly we need to do python manage.py collectstatic --clear

@bsekachev
Copy link
Member

When bbox rotated a bit and it is getting out of frame, I get error when tracking:

image

Copy link
Contributor

@nmanovic nmanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nmanovic nmanovic merged commit 87be7bc into develop Feb 7, 2022
@nmanovic nmanovic deleted the kl/mil-tracker branch February 7, 2022 13:06
@klakhov
Copy link
Contributor Author

klakhov commented Feb 7, 2022

@TOsmanov Could you please update the user guide about new tracking tool?

@TOsmanov
Copy link
Contributor

TOsmanov commented Feb 8, 2022

@TOsmanov Could you please update the user guide about new tracking tool?

@klakhov Yes, sure

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.

5 participants