Skip to content

Trying to periodically switch off camera in detect.py #25

Open
@Altomand

Description

@Altomand

Description

I am using the coral dev mini with a coral camera. I am trying to switch of the camera off in detect.py when there are no people in the frame "if labels.get(obj.id,obj.id) != 'person'" to save power . However I am not sure how to switch the camera off, setting the video source to none instead of /dev/video0 "parser.add_argument('--videosrc', help='Which video source to use. ', default='/dev/video0')" when calling gstreamer.run_pipeline gives me an error. Do you have any suggestions. Thanks.

Click to expand!

Issue Type

Support

Operating System

Mendel Linux

Coral Device

Dev Board Mini

Other Devices

No response

Programming Language

Python 3.7

Relevant Log Output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions