supervision
supervision copied to clipboard
Redesign/line counter
Description
Colab link: https://colab.research.google.com/drive/1k___Gmq_hT79VQsh2prHUdL4D38IXtbm?usp=sharing
Features/Improvement:
- [x] Multi-Class counting #93 #94
- [x] Extra counts bug #87
- [x] Text color for
in/out#79 - [x] API to get info of
in/outcounts for more modification for users along track ids - [x] objects anchor selection for counting
- [x] objects anchor point drawing
- [x] change line color on crossing
- [x] return counts api and total counts api
- [x] return functions to get crossed detections for
inandout - [x] introduce
sv.AnchorPointAnnotatorto render points on image - [ ] Improve Documentation
Type of change
Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update
Docs
- [ ] Docs updated? What were the changes:
@SkalskiP Do you think of any other features to be included? Please go through the descriptions once.
hello @SkalskiP @onuralpszr , let's try to finish this as it will make good reflection from community.
@hardikdava I am starting to review
@hardikdava I accept your changes for AnchorAnnotator and PolygonZone Annotator which we need to change both later on.
@hardikdava we merge new Annotators now I am going to rebase this and do proper changes and do another round of review, I am started working on it.
@onuralpszr @SkalskiP Should we include this in next release?
@onuralpszr @SkalskiP Should we include this in next release?
I was working on this and going send commits and hopefully this one and other line (in/out) improvement one I want to for next release as well.
@hardikdava I'm not sure I will have enough time to look at it this week :/
Hi @hardikdava 👋🏻, I need to ask you to refactor the trigger method and make it more readable. Please move different parts of the logic to separate functions with descriptive names. It would also be awesome if you could describe what is happening there in a comment.
He. Is it going to be part of the next release? Is is abandoned and will need a full review/rewrite? I have delayed using the line counter for as long as I could but I will need to implement this in our project soon so I would love to have some visibility on this PR.