Extract and verify Reference images in batch #37
florianduclot
started this conversation in
Ideas
Replies: 1 comment
-
|
At some point in the future we may implement something like this. I am going to move this to Discussion for now, in part so others can see the link to your changes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've found myself in the unfortunate need to use "custom" settings to extract the Reference image for a few videos out for which it wasn't possible to use the default settings, a static image, or the same
np.arange()for all videos to be processed in a batch. I've come across #16 and I agree the arguments laid there--mostly that this isn't really a batch process if one has to customize to some extent--but I remain attracted by the prospect of being able to get all the interactive and customization work done before proceeding with the location tracking step.Indeed, I'm working with some rather lengthy videos at times, and being able to do this "prep" work before-hand would allow me to get everything ready before starting the
Batch_Process()(this is for location tracking) and let it run, letting me work on something else in the meantime. If I were to process these individually, I would have some akward few minutes of wait times between each video (long enough to be wasting your time, but too short to be doing something else).I thus tried to adapt the functions in
LocationTracking_Functions.pyto batch extract and test the reference image and allow me to feed a custom dict ofnp.arangefor each video that would require it during theBatch_Process()step. The resulting workflow is thus:Reference()'s default settings:np.arange()for those videos that would require it in a dedicatedframes_dict.Batch_Process()with this customframes_dict.I acknowledge that this fits my own needs and does not necessarily fit into your "vision" for a canonical ezTrack pipeline, but I thought I would share and see if there's any interest in getting this included. If interested, the overall "idea" can be found at the branch below:
https://github.com/florianduclot/ezTrack/tree/WIP_Batch_Reference
Beta Was this translation helpful? Give feedback.
All reactions