olivierfriard / BORIS

Behavioral Observation Research Interactive Software
http://www.boris.unito.it
GNU General Public License v3.0
174 stars 34 forks source link

summarize observations over fixed intervals #627

Open awschiffmiller opened 1 year ago

awschiffmiller commented 1 year ago

I would like to be able to play a short segment of video (e.g. one second worth or a set number of frames) so I can summarize at that resolution (e.g the number of conspecifics visible over each second and their actions). I'd like to be able to replay the same section multiple times, record my total summarized observations over that time (e.g. over 1 second: 6 flying >100m away, 2 flying between 10 and 50 m away, 1 sitting on water between 10 and 50 m away), then move to the next segment.

Frame by frame is too intensive and also it can be hard to identify distant individuals (seabirds) in a still frame when they are not moving. The closest current option is to use the jump and record what is visible at set intervals, but still has the issues of being a still image and misses things in the recording between jump intervals.

Philippe-s-Levi commented 12 months ago

Hi! I wrote a small python program which do (I guess) exactly what you need (I wrote it from what I understood of your need). It is "standalone", not linked to Boris. It uses python and opencv which must be installed. are you interested? (It is a very simple line by line interface, written in french, I should translate it in english).

nom vidéo original: bonobos.mp4 nom vidéo des extraits: extraits.mp4 numéro première image: 100 taille extraits (nb images): 120 espace entre extraits (nbimages): 600 répétition frame entre extraits: 60 numéro première partie: 123