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

Discrete data capture routine #43

Open
5 tasks
pv33 opened this issue Nov 15, 2023 · 3 comments
Open
5 tasks

Discrete data capture routine #43

pv33 opened this issue Nov 15, 2023 · 3 comments
Assignees

Comments

@pv33
Copy link
Member

pv33 commented Nov 15, 2023

Create routine to capture data upon keypresses. Save imagery to file with incrementing file counter.
Use with #42

  • Keypress/Enter Key based. color image only.
  • Keypress/Enter Key based. color + puzzle mask for easier post-processing.
  • Keypress/Enter Key based. color + depth saved (to file or to topic??).
  • Glove based with state machine to trigger capture. Build out from detector.
  • Possibly just hand based via depth image. Anything above valid workspace is a "hand"

Hand in scene: change state. Hand leaves: trigger capture. change state.

@pv33 pv33 self-assigned this Nov 15, 2023
@pv33
Copy link
Member Author

pv33 commented Nov 15, 2023

keypress method is easy for RGB only capture.
argument is prefix.
run capture loop for realsense.
run as loop until q is pressed or something to that effect.
capture triggered by Enter or C or D (for color/depth) or B (for both??)
maybe even capture image plus binary mask of puzzle pieces so that can be used after the fact. (enter P for puzzle mask? then saves image plus binary mask; run more code though.)

run glove detector.
configure a glove present/gone state.

@pv33
Copy link
Member Author

pv33 commented Nov 16, 2023

Started in on a package mary_perception for including these things. Need to work out the details ... baby steps.

@pv33
Copy link
Member Author

pv33 commented Nov 16, 2023

Run files:

  • gloveshots_color.py
  • snapshots_registered.py
  • snapshots_depth.py
  • snapshots_color.py
  • staticshots_registered.py
  • staticshots_depth.py
  • staticshots_color.py

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

1 participant