mmchenry / schooling_experiments

MIT License
0 stars 0 forks source link

Automatically create mask frame/files for individual videos in list #7

Closed anpeter1 closed 1 year ago

anpeter1 commented 1 year ago

In 'acquire_kinematics' under 'Create mask' and 'Create the mask image'

Code only takes a frame and creates mask from the first video in the 'experiment_log' list with 'analyze' and 'make_video' set to '1'.

Would be handy to have the code loop through the list of videos and 1) create a frame from each video, then after the user gets the ROI's from each video image, 2) loop through the list and create a mask file for each video.

mmchenry commented 1 year ago

Added a loop to generate multiple masks in commit c5561d7.