-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathcamera_controls_db.json
More file actions
388 lines (387 loc) · 13.8 KB
/
camera_controls_db.json
File metadata and controls
388 lines (387 loc) · 13.8 KB
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
{
"sections": [
{
"name": "Orientation",
"enabled": true,
"settings": [
{
"name": "Flip Camera Feed",
"id": "hflip",
"info": "This setting does not rotate the camera feed but actually flips the image like a mirror in the horizontal or vertical plane.",
"warning": "Camera feed will need to be restarted for this setting to be applied.",
"type": "switch",
"label": "Horizontal Flip",
"enabled": true,
"default": false
},
{
"id": "vflip",
"type": "switch",
"label": "Vertical Flip",
"enabled": true,
"default": false
}
]
},
{
"name": "Auto Focus Settings",
"enabled": true,
"settings": [
{
"name": "Auto Focus Mode",
"id": "AfMode",
"info": "Manual: manually set the focus by adjusting the lens position below. Auto: auto focus once when 'Auto' is selected. Continuous: continuously auto focus without user interaction.",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Manual", "enabled": true, "show_child": true },
{ "value": 1, "label": "Auto", "enabled": true, "show_child": false },
{ "value": 2, "label": "Continuous", "enabled": true, "show_child": false }
],
"childsettings": [
{
"name": "Lens Position",
"id": "LensPosition",
"info": "The period of the lighting cycle in microseconds. For example, for 50Hz mains lighting the flicker occurs at 100Hz, so the period would be 10000 microseconds.",
"type": "slider",
"label": "Lens Position:",
"validation_text": "In dioptres (1 / distance in metres)",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": 0.0,
"max": 10.0,
"default": 0.0
}
]
},
{
"name": "Auto Focus Range",
"id": "AfRange",
"info": "Normal: search the normal range (may exclude very closest objects). Macro: search only the closest part of the range. Full: search everything.",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Normal", "enabled": true, "show_child": true },
{ "value": 1, "label": "Macro", "enabled": true, "show_child": false },
{ "value": 2, "label": "Full", "enabled": true, "show_child": false }
]
},
{
"name": "Auto Focus Speed",
"id": "AfSpeed",
"info": "Normal: normal speed. Fast: try to move more quickly",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Normal", "enabled": true, "show_child": true },
{ "value": 1, "label": "Fast", "enabled": true, "show_child": false }
]
}
]
},
{
"name": "Gain and Exposure",
"enabled": true,
"settings": [
{
"name": "Exposure Time",
"id": "ExposureTime",
"info": "Exposure time for the sensor to use, measured in microseconds.",
"type": "slider",
"label": "Value in microseconds",
"validation_text": "Value in microseconds: Between {min} and {max}.",
"enabled": true,
"source": "controls",
"step": 1,
"min": 1,
"max": 66666,
"default": 20000,
"hr": true,
"conversion": {
"enabled": true,
"label": "Seconds",
"factor": 1000000,
"step": 2
}
},
{
"name": "Analogue Gain",
"id": "AnalogueGain",
"info": "Analogue gain applied by the sensor",
"type": "slider",
"label": "Original/Flipped",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": 1,
"max": 16,
"default": 1,
"hr": true
},
{
"name": "Enable Changes to AEC-AGC algorithm",
"id": "AeEnable",
"info": "Allow the Auto Exposure Compensation and Auto Gain Compensation (AEC-AGC) algorithm to be turned on and off. When if is off, there will be no automatic updates to the camera’s gain or exposure settings.",
"type": "switch",
"label": "AEC-AGC Locked/AEC-AGC Enabled",
"enabled": true,
"source": "controls",
"default": true,
"value": true,
"hr": true,
"childsettings": [
{
"name": "Exposure Compensation",
"id": "ExposureValue",
"info": "Exposure compensation value in 'stops', which adjusts the target of the AEC-AGC algorithm. Positive values increase the target brightness, and negative values decrease it. Zero represents the base or 'normal' exposure level.",
"type": "slider",
"label": "Original/Flipped",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": -8.0,
"max": 8.0,
"default": 0.0,
"hr": true
},
{
"name": "AE Constraint Mode",
"id": "AeConstraintMode",
"info": "Sets the constraint mode of the AEC/AGC algorithm.",
"warning": "Shadows and Custom are currently disabled and requires a file to work and that feature is not in the webUI",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Normal", "enabled": true },
{ "value": 1, "label": "Highlight", "enabled": true },
{ "value": 2, "label": "Shadows", "enabled": false },
{ "value": 3, "label": "Custom", "enabled": false }
]
},
{
"name": "AE Exposure Mode",
"id": "AeExposureMode",
"info": "Sets the exposure mode of the AEC/AGC algorithm",
"warning": "Custom is currently disabled and requires a file to work and that feature is not in the webUI",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Normal", "enabled": true },
{ "value": 1, "label": "Short", "enabled": true },
{ "value": 2, "label": "Long", "enabled": true },
{ "value": 3, "label": "Custom", "enabled": false }
]
},
{
"name": "AE Metering Mode",
"id": "AeMeteringMode",
"info": "Sets the metering mode of the AEC/AGC algorithm.",
"warning": "Custom is currently disabled and requires a file to work and that feature is not in the webUI",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"hr": true,
"options": [
{ "value": 0, "label": "Centre Weighted", "enabled": true },
{ "value": 1, "label": "Short", "enabled": true },
{ "value": 2, "label": "Matrix", "enabled": true },
{ "value": 3, "label": "Custom", "enabled": false }
]
}
]
},
{
"name": "AE Flicker Mode",
"id": "AeFlickerMode",
"info": "Sets the flicker avoidance mode of the AEC/AGC algorithm.",
"type": "switch",
"label": "Off/Manual",
"enabled": true,
"source": "controls",
"default": false,
"hr": true,
"childsettings": [
{
"name": "AE Flicker Period",
"id": "AeFlickerPeriod",
"info": "The period of the lighting cycle in microseconds. For example, for 50Hz mains lighting the flicker occurs at 100Hz, so the period would be 10000 microseconds.",
"type": "slider",
"label": "Value in microseconds",
"validation_text": "Value in microseconds: Between {min} and {max}.",
"enabled": true,
"source": "controls",
"step": 1,
"min": 100,
"max": 1000000,
"default": 100
}
]
}
]
},
{
"name": "Auto White Balance",
"enabled": true,
"settings": [
{
"name": "Enable Auto White Balance algorithm",
"id": "AwbEnable",
"info": "Turn the auto white balance (AWB) algorithm on or off. When it is off, there will be no automatic updates to the colour gains. Auto: Automatically sets white balance and keeps adjusting",
"warning": "Custom is currently disabled and requires a file to work and that feature is not in the webUI",
"type": "switch",
"label": "Disabled/Enabled",
"enabled": true,
"source": "controls",
"default": false,
"childsettings": [
{
"id": "AwbMode",
"type": "radio",
"enabled": true,
"source": "controls",
"default": 0,
"options": [
{ "value": 0, "label": "Auto", "enabled": true },
{ "value": 1, "label": "Tungsten", "enabled": true },
{ "value": 2, "label": "Fluorescent", "enabled": true },
{ "value": 3, "label": "Indoor", "enabled": true },
{ "value": 4, "label": "Daylight", "enabled": true },
{ "value": 5, "label": "Cloudy", "enabled": true },
{ "value": 6, "label": "Custom", "enabled": false }
]
}
]
}
]
},
{
"name": "Brightness & Contrast",
"enabled": true,
"settings": [
{
"name": "Brightness",
"id": "Brightness",
"info": "Adjusts the image brightness where -1.0 is very dark, 1.0 is very bright, and 0.0 is the default 'normal' brightness.",
"type": "slider",
"label": "Value:",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": -1.0,
"max": 1.0,
"default": 0.0,
"hr": true
},
{
"name": "Contrast",
"id": "Contrast",
"info": "Sets the contrast of the image, where zero means 'no contrast', 1.0 is the default 'normal' contrast, and larger values increase the contrast proportionately",
"type": "slider",
"label": "Value:",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": 0.0,
"max": 32.0,
"default": 1.0,
"hr": true
},
{
"name": "Saturation",
"id": "Saturation",
"info": "Amount of colour saturation, where zero produces greyscale images, 1.0 represents default 'normal' saturation, and higher values produce more saturated colours.",
"type": "slider",
"label": "Value:",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": 0.0,
"max": 32.0,
"default": 1.0,
"hr": true
},
{
"name": "Sharpness",
"id": "Sharpness",
"info": "Sets the image sharpness, where zero implies no additional sharpening is performed, 1.0 is the default 'normal' level of sharpening, and larger values apply proportionately stronger sharpening.",
"type": "slider",
"label": "Value:",
"enabled": true,
"source": "controls",
"step": 0.1,
"min": 0.0,
"max": 16.0,
"default": 1.0
},
{
"name": "Colour Temperature",
"id": "ColourTemperature",
"info": "",
"type": "slider",
"label": "Value:",
"enabled": true,
"source": "controls",
"step": 1,
"min": 100,
"max": 100000
}
]
},
{
"name": "Output Resolution",
"enabled": true,
"settings": [
{
"name": "Still Capture Resolution",
"id": "StillCaptureResolution",
"source": "generatedresolutions",
"info": "Sets the resolution used when capturing a still image, independent of the sensor mode.",
"type": "radio",
"enabled": true,
"default": 0,
"hr":true,
"options": [
{ "value": 0, "label": "This needs to be where the resolutions go", "enabled": true }
]
},
{
"name": "Save RAW DNG",
"id": "saveRAW",
"info": "When enabled the camera will take a Jpg and RAW file from the same buffer. A link will be added to the file in the image gallery for downloading DNG",
"type": "switch",
"label": "Disabled/Enabled",
"enabled": true,
"default": false
},
{
"name": "Live Feed Resolution",
"id": "LiveFeedResolution",
"info": "Controls the resolution of the video feed, allowing for a lower or higher resolution while keeping the sensor mode independent.",
"type": "radio",
"enabled": false,
"default": 0,
"options": [
{ "value": 0, "label": "This needs to be where the resolutions go", "enabled": true }
]
}
]
}
]
}