JolleJolles / pirecorder

Controlled and automated image and video recording with the raspberry pi
https://jollejolles.github.io/pirecorder/
Apache License 2.0
43 stars 9 forks source link

Save ROI directly using stream from command line #26

Closed JolleJolles closed 4 years ago

JolleJolles commented 4 years ago

Add option to run stream function from command line with configfile such that roi file can be stored directly

In response to @DerJH in https://github.com/openjournals/joss-reviews/issues/2584#issuecomment-684568533_

JolleJolles commented 4 years ago

Integrated saving directly from stream by possibility of adding a configuration file when running stream from the command line (e.g. stream -c pirecorder.conf). When the 's' key is pressed after drawing a rectangle, the roi coordinates are stored in the config file. Working after commit d335de9.