-
Notifications
You must be signed in to change notification settings - Fork 14
Include timestamp for detected tracked trash #35
Comments
@charlesollion I'm working on the ETL pipeline with Clément and was wondering if I understand correctly the AI response.
It also gives the fps and number of frame of the video. Have a nice week-end ! |
Hello, Thank you for your message. Indeed it is possible to retreive the timestamp from the frame number and the fps of the video. Your code seems good, but there seem to be one confusion between the boxes and the detected trash: you may (and it happens often) have a single detected trash that is found in mutliple consecutive frames (1 trash = several boxes), for instance:
I suggest attaching the timestamp to each trash, and not to each box. The timestamp of the trash should then be the average of the timestamps of the frames with boxes detected (in the example above, Does it make sense to you? Other than that I think your code is clean. If it's meant to be located in the ETL and I'll close this issue as soon as we have the same vision! |
Very clear, thank you ++ ! I'd suggest, for clarity purpose (but it's really a detail !) you could send frame_to_box as a list with keys
|
You can close this issue, one of these implementations should do the work : surfriderfoundationeurope/etl@62c1c75 |
For each trash detected from a video, a new field should be added, including the elapsed number of seconds from the beginning of the video.
The text was updated successfully, but these errors were encountered: