[Python] select object and track it in the next frames

Discussão em 'Python' iniciado por Stack, Setembro 9, 2025.

  1. Stack

    Stack Membro Participativo

    I'm writting a web based video editor and now I want to add a redact option. Will work like this:

    1. User draws a square in the frame at any duration of the video
    2. In the following frames I get a json with the size of that selected object and it's position in the current frame
    3. If the object gets out of frame but reappears at some point, the program needs to detect that

    I already know how to draw a square in different positions and sizes using ffmpeg, now I just need it to follow the selected object. Videos come from bodycams and are .mp4

    Continue reading...

Compartilhe esta Página