spacebox/demo/camera/config.json

51 lines
1.2 KiB
JSON

{
"display":
{
"dimensions": [450, 800],
"framerate": 60,
"title": "Camera Capture Test",
"debug": false,
"render driver": "opengles2",
"show-cursor": true
},
"configuration":
{
"auto-refresh": false
},
"recording":
{
"screenshot-directory": "local/screenshots",
"video-directory": "local/video",
"enabled": false,
"write-mp4": true,
"video-frame-length": 33.333,
"max-video-memory": 2000,
"mp4-pixel-format": "yuv420p"
},
"log":
{
"enabled": false,
"output-directory": "/var/log/sb/",
"debug-to-stdout": false,
"debug-to-file": true,
"info-file-name": "camera_test_info.log",
"debug-file-name": "camera_test_debug.log"
},
"scan":
{
"enabled": false,
"capture-device": "/dev/video0",
"brightness-addition": 20,
"contrast-multiplication": 1.4,
"camera-device-id": 0,
"sharpen": false,
"brighten": false,
"contour-color-decodable": [255, 255, 0],
"contour-color-undecodable": [255, 0, 255]
}
}