yastrebksv / TennisCourtDetector

Deep learning network for detecting tennis court
93 stars 29 forks source link

I want to ask a question. How have you labeled or annoted and created the dataset? #9

Open rambo1111 opened 5 months ago

rambo1111 commented 5 months ago

How have you created the JSON file for the images?

I want make the same project but for badminton and table tennis.

Screenshot 2024-05-03 223418

yastrebksv commented 4 months ago

For each image I used this script https://github.com/ArtLabss/tennis-tracking/blob/main/court_detector.py with some modification to get court annotation. But beause there were a lot of mistakes, I filtered resutls manually.

fm64hylian commented 2 months ago

For each image I used this script https://github.com/ArtLabss/tennis-tracking/blob/main/court_detector.py with some modification to get court annotation. But beause there were a lot of mistakes, I filtered resutls manually.

I'm sorry, I am trying to train the dataset as well and you mentioned that you modified court_detector.py to get the annotation, however, there is one "metric" key in data_train.json that I don't know where is coming from. Could you please explain what's used for and how is it calculated?

yastrebksv commented 1 month ago

"Metric" is something like intersection over union between white lines of court in original image and reference one