cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.24k stars 2.95k forks source link

Report to calculate the number of annotations #350

Closed nmanovic closed 3 months ago

nmanovic commented 5 years ago

Hi, I'm not really an elastic search / kibana / logstash power user. However I'm in the need to provide a report to calculate the number of annotated boxes on the day/week/month ? What would you recommend to do this? Elastic stack is not very intuitive and Im a poor C++ developer with no much grip

It is not possible to calculate the number of annotated boxes on the day/week/month now. Need to log more information. It should not be very difficult to implement. Extend logging with necessary events/counters. Aggregate such events in the table viz. Time period can be always be chosen in Kibana. ELK isn't very intuitive from my point of view but just look at the current code. It should be enough.

RajatRasal commented 4 years ago

I've done a bit of work on this.

Was wondering if you would still like PRs for this issue?

My design is as follows:

  1. Add annotation_type to the log in the finish method in the ShapeCreatorModel class (cvat/apps/engine/static/engine/js/shapeCreator.js). The annotation_type can be one of either ['Box', 'Box by 4 points', 'Polygon'...]. image
  2. Put an index-pattern on annotation_type in ES.
  3. Added a visualisation, which is exactly the same as the Number of events vis, but with minor changes in the aggregation to use the newly created annotation_type field. image
nmanovic commented 4 years ago

@RajatRasal , please send a PR and we will look at it.

lgg commented 1 year ago

@RajatRasal hello, please - can you share your developments for this feature?

azhavoro commented 3 months ago

I believe this has already been implemented.