-
Notifications
You must be signed in to change notification settings - Fork 5
REST camera
firepick1 (localhost) edited this page Nov 13, 2015
·
21 revisions
The /camera REST service captures and returns images from designated cameras.
The following REST commands may fail with HTTP501 if the designated camera is not available.
Return JSON model describing default camera. Model attributes include:
-
available is
truewhen available
Capture and return current image from default available camera chosen by precedence:
- raspistill has highest priority as a supported camera
-
video1 for
/dev/video1(e.g., laptop remote USB camera) -
video0 for
/dev/video0(e.g., laptop built-in camera)
Capture and return current image from Raspberry Pi camera
Capture and returns current image from /dev/video0 camera
Capture and return current image from /dev/video1 camera
The following URLs are reserved for future use as REST protocols
- POST
/camera/model - POST
/camera/raspistill/model - POST
/camera/video0/model - POST
/camera/video1/model