-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaultParams.json
297 lines (297 loc) · 7.98 KB
/
defaultParams.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
[
{
"command": "width",
"default": "0",
"description": "Set the output image width (0 = use default value)"
},
{
"command": "height",
"default": "0",
"description": "Set the output image height (0 = use default value)"
},
{
"command": "timeout",
"default": "5000",
"description": "Time (in ms) for which program runs"
},
{
"command": "output",
"default": "",
"description": "Set the output file name"
},
{
"command": "post-process-file",
"default": "",
"description": "Set the file name for configuring the post-processing"
},
{
"command": "rawfull",
"default": "0",
"description": "Force use of full resolution raw frames"
},
{
"command": "nopreview",
"default": "0",
"description": "Do not show a preview window"
},
{
"command": "preview",
"default": "0,0,0,0",
"description": "Set the preview window dimensions, given as x,y,width,height e.g. 0,0,640,480"
},
{
"command": "fullscreen",
"default": "0",
"description": "Use a fullscreen preview window"
},
{
"command": "hflip",
"default": "0",
"description": "Request a horizontal flip transform"
},
{
"command": "vflip",
"default": "0",
"description": "Request a vertical flip transform"
},
{
"command": "rotation",
"default": "0",
"description": "Request an image rotation, 0 or 180"
},
{
"command": "roi",
"default": "0,0,0,0",
"description": "Set region of interest (digital zoom) e.g. 0.25,0.25,0.5,0.5"
},
{
"command": "shutter",
"default": "0",
"description": "Set a fixed shutter speed in microseconds"
},
{
"command": "analoggain",
"default": "0",
"description": "Set a fixed gain value (synonym for 'gain' option)"
},
{
"command": "gain",
"default": "0",
"description": "Set a fixed gain value"
},
{
"command": "metering",
"default": "centre",
"description": "Set the metering mode (centre, spot, average, custom)"
},
{
"command": "exposure",
"default": "normal",
"description": "Set the exposure mode (normal, sport)"
},
{
"command": "ev",
"default": "0",
"description": "Set the EV exposure compensation, where 0 = no change"
},
{
"command": "awb",
"default": "auto",
"description": "Set the AWB mode (auto, incandescent, tungsten, fluorescent, indoor, daylight, cloudy, custom)"
},
{
"command": "awbgains",
"default": "0, 0",
"description": "Set explict red and blue gains (disable the automatic AWB algorithm)"
},
{
"command": "flush",
"default": "0",
"description": "Flush output data as soon as possible"
},
{
"command": "wrap",
"default": "0",
"description": "When writing multiple output files, reset the counter when it reaches this number"
},
{
"command": "brightness",
"default": "0",
"description": "Adjust the brightness of the output images, in the range -1.0 to 1.0"
},
{
"command": "contrast",
"default": "1",
"description": "Adjust the contrast of the output image, where 1.0 = normal contrast"
},
{
"command": "saturation",
"default": "1",
"description": "Adjust the colour saturation of the output, where 1.0 = normal and 0.0 = greyscale"
},
{
"command": "sharpness",
"default": "1",
"description": "Adjust the sharpness of the output image, where 1.0 = normal sharpening"
},
{
"command": "framerate",
"default": "-1",
"description": "Set the fixed framerate for preview and video modes"
},
{
"command": "denoise",
"default": "auto",
"description": "Sets the Denoise operating mode: auto, off, cdn_off, cdn_fast, cdn_hq"
},
{
"command": "viewfinder-width",
"default": "0",
"description": "Width of viewfinder frames from the camera (distinct from the preview window size)"
},
{
"command": "viewfinder-height",
"default": "0",
"description": "Height of viewfinder frames from the camera (distinct from the preview window size)"
},
{
"command": "lores-width",
"default": "0",
"description": "Width of low resolution frames (use 0 to omit low resolution stream"
},
{
"command": "lores-height",
"default": "0",
"description": "Height of low resolution frames (use 0 to omit low resolution stream"
},
{
"command": "mode",
"default": "",
"description": "Camera mode as W:H:bit-depth:packing, where packing is P (packed) or U (unpacked)"
},
{
"command": "viewfinder-mode",
"default": "",
"description": "Camera mode for preview as W:H:bit-depth:packing, where packing is P (packed) or U (unpacked)"
},
{
"command": "buffer-count",
"default": "0",
"description": "Number of in-flight requests (and buffers) configured for video, raw, and still."
},
{
"command": "viewfinder-buffer-count",
"default": "0",
"description": "Number of in-flight requests (and buffers) configured for preview window."
},
{
"command": "autofocus-mode",
"default": "unset",
"description": "Control to set the mode of the AF (autofocus) algorithm.(manual, auto, continuous)"
},
{
"command": "autofocus-range",
"default": "unset",
"description": "Set the range of focus distances that is scanned.(normal, macro, full)"
},
{
"command": "autofocus-speed",
"default": "unset",
"description": "Control that determines whether the AF algorithm is to move the lens as quickly as possible or more steadily.(normal, fast)"
},
{
"command": "autofocus-window",
"default": "0,0,0,0",
"description": "Sets AfMetering to AfMeteringWindows an set region used, e.g. 0.25,0.25,0.5,0.5"
},
{
"command": "lens-position",
"default": "",
"description": "Set the lens to a particular focus position, expressed as a reciprocal distance(0 moves the lens to infinity), or 'default' for the hyperfocal distance"
},
{
"command": "metadata",
"default": "",
"description": "Save captured image metadata to a file or '-' for stdout"
},
{
"command": "metadata-format",
"default": "json",
"description": "Format to save the metadata in, either txt or json (requires --metadata)"
},
{
"command": "quality",
"default": "93",
"description": "Set the JPEG quality parameter"
},
{
"command": "exif",
"default": "",
"description": "Add these extra EXIF tags to the output file"
},
{
"command": "timelapse",
"default": "0",
"description": "Time interval (in ms) between timelapse captures"
},
{
"command": "framestart",
"default": "0",
"description": "Initial frame counter value for timelapse captures"
},
{
"command": "datetime",
"default": "0",
"description": "Use date format for output file names"
},
{
"command": "timestamp",
"default": "0",
"description": "Use system timestamps for output file names"
},
{
"command": "restart",
"default": "0",
"description": "Set JPEG restart interval"
},
{
"command": "keypress",
"default": "0",
"description": "Perform capture when ENTER pressed"
},
{
"command": "signal",
"default": "0",
"description": "Perform capture when signal received"
},
{
"command": "thumb",
"default": "320:240:70",
"description": "Set thumbnail parameters as width:height:quality, or none"
},
{
"command": "encoding",
"default": "jpg",
"description": "Set the desired output encoding, either jpg, png, rgb, bmp or yuv420"
},
{
"command": "raw",
"default": "0",
"description": "Also save raw file in DNG format"
},
{
"command": "latest",
"default": "",
"description": "Create a symbolic link with this name to most recent saved file"
},
{
"command": "immediate",
"default": "0",
"description": "Perform first capture immediately, with no preview phase"
},
{
"command": "autofocus-on-capture",
"default": "0",
"description": "Switch to AfModeAuto and trigger a scan just before capturing a still"
}
]