Data Sheet

Camera datasheet v1
.
1
G840
-
00180
-
01
4 Snapshot tool
The Mendel system image for the Coral boards includes a Python program called
snapshot
that captures images from the
Coral Camera
.
To start it using an interactive mode
,
run
snapshot
from the board
'
s shell terminal
.
Then use the following keys to control
the camera
:
Spacebar to snap a photo
R to refocus
Q to quit
(
or Control
+
C
)
When using this interactive mode
,
each time you press Spacebar
,
it saves the image to the current directory as a JPEG
.
The
lename includes an incrementing number
,
starting with
img0000.jpg
.
Overwriting
lenames is avoided by always starting
with the
rst available enumeration of the
lename
.
The command also accepts the arguments shown in table 7
.
Table 7.
Snapshot tool commands
Argument
Description
--oneshot
Enable one
-
shot mode
:
Capture just one picture and quit
,
instead of using the interactive
mode that accepts keyboard commands
.
--prefix,-p name
The
lename pre
x
.
This name is also appended with a four
-
digit number to avoid overwriting
any
le with the same pre
x
the number is always the
rst enumeration that
'
s not used
.
For
example
,
name 0000.jpg
and then
name 0001.jpg
.
The default pre
x name is
img
.
--format,-f type
The
le format
.
The
type
may be either
:
jpg
,
bmp
,
or
png
.
The default is
jpg
.
The
snapshot
code is located at
/usr/bin/snapshot
.
Table 8.
3D CAD
les
File
Description
Coral
-
Camera
.
STEP
3D CAD
le for the Coral Camera in STEP format
Coral
.
ai
|
Copyright 2020 Google LLC
.
7