Skip to content

Feature request: Camera profiles and switching between them #99

@plin2

Description

@plin2

I intend to build a picam into my photobooth and optionally (when I want hight quality) attach a digital camera on top.

It would be helpful when the photobooth software could detect which cameras are detected (vcgencmd get_camera, gphoto2 --auto-detect), store profiles (the camera dependend options) and allow switching between them. A profile would consist of the following options

  • $config['camera_model'] = 'picam';
  • $config['use_picamera'] = true;
  • $config['crop_onprint'] = true;
  • $config['crop_width'] = '2592';
  • $config['crop_height'] = '1850';
  • $config['take_picture']['cmd'] = 'sudo raspistill -n -o $(date +%s) | echo Done';
  • $config['take_picture']['msg'] = 'Done';

or

  • $config['camera_model'] = 'Canon PowerShot G9;
  • $config['use_picamera'] = false;
  • $config['crop_onprint'] = true;
  • $config['crop_width'] = '4000';
  • $config['crop_height'] = '2666';
  • $config['take_picture']['cmd'] = 'sudo gphoto2 --capture-image-and-download --filename=%s images';
  • $config['take_picture']['msg'] = 'New file is in location';

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions