Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune up extend parse_wQR.py #96

Open
5 tasks done
yarikoptic opened this issue May 30, 2024 · 0 comments
Open
5 tasks done

Tune up extend parse_wQR.py #96

yarikoptic opened this issue May 30, 2024 · 0 comments
Assignees

Comments

@yarikoptic
Copy link
Member

yarikoptic commented May 30, 2024

https://github.com/ReproNim/reprostim/blob/master/Parsing/parse_wQR.py

  • enable basic python logging which would log to stderr not to stdout. kinda done -- prints to stderr., ok for now
  • for every detected qrcode displayed, gather a record which would consist of time when it started to appear relative within video from the beginning and when it finished to appear, and complete decoded QR code record
    • figure out actual time in seconds since video start
  • print record to stdout using json.dumps() serialization (without any indenting, just 1 line) as soon as gathered
  • at the end log how many records where detected and may be how long it took to go through the file
vmdocua added a commit that referenced this issue Jun 21, 2024
vmdocua added a commit that referenced this issue Jun 27, 2024
vmdocua added a commit that referenced this issue Jul 15, 2024
vmdocua added a commit that referenced this issue Jul 15, 2024
vmdocua added a commit that referenced this issue Jul 15, 2024
…h QR codes realtime later by external scripts, #96
yarikoptic added a commit that referenced this issue Nov 27, 2024
* 'master' of github.com:ReproNim/reprostim:
  Regenerated Singularity/Dockerfile, #122
  Add sound dependencies to psychopy singularity container (system and python packages).
  Notes for recorded video file size with videocapture/ffmpeg, #68
  Extend parse_wQR.py script with INFO mode to dump videos information like duration, rate, size in JSON format, #104
  Increase ffmpeg bitrate/buffers in 4 times, closer to standard video quality, #68
  Updated docs, optionally wrap executions of ffmpeg with duct #113
  Added version information to reprostim-videocapture JSON metadata logs for informational purposes, #114
  Readme notes to for con/duct setup, #113
  Rename info/usage.json files produced by con/duct on ffmpeg process exit, #113
  optionally wrap executions of ffmpeg with duct #113
  Template for con/duct command wrapper, #113
  Configuration stub/placeholder for con/duct, #113
  Auto-recovery of ffmpeg process in reprostim-videocapture utility #114
  Auto-recovery of ffmpeg process in reprostim-videocapture utility #114
  Auto-recovery of ffmpeg process in reprostim-videocapture utility #114
  Fixed issue - upon reloading config file prior main log file got overwritten, #112
  CPU/resources usage statistics for ffmpeg with options we used before, #68
  videocapture configuration and research to fix drop frames and encoding performance issues, #68
  Generate QR info script to work with ReproNim session structure from https://github.com/ReproNim/reproflow-data-sync, #96
  Generate QR info script to work with ReproNim session structure from https://github.com/ReproNim/reproflow-data-sync, #96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants