json-schemas.rig¶
AindVideoEncodingBenchmarksRig¶
type |
object |
||
properties |
|||
|
aind_behavior_services package version |
||
type |
string |
||
pattern |
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ |
||
default |
0.8.8 |
||
|
Version |
||
type |
string |
||
default |
0.1.2 |
||
const |
0.1.2 |
||
|
Computer Name |
||
Computer name |
|||
type |
string |
||
|
Rig Name |
||
Rig name |
|||
type |
string |
||
|
Camera controller to triggered cameras. Will use Camera0 register as a trigger. |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Camera controller to triggered cameras. Will use Camera1 register as a trigger. |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Harp behavior board. Will be the source of triggers for the two camera controllers. |
||
|
Harp clock generator. |
||
BaseModel¶
type |
object |
properties |
CameraController[SpinnakerCamera]¶
type |
object |
||
properties |
|||
|
Device Type |
||
type |
string |
||
default |
CameraController |
||
const |
CameraController |
||
|
Additional settings |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Calibration |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Cameras |
||
Cameras to be instantiated |
|||
type |
object |
||
additionalProperties |
|||
|
Frame Rate |
||
Frame rate of the trigger to all cameras |
|||
default |
30 |
||
oneOf |
type |
integer |
|
minimum |
0 |
||
type |
null |
ConnectedClockOutput¶
type |
object |
||
properties |
|||
|
Target Device |
||
Optional device name to provide user additional information |
|||
default |
null |
||
oneOf |
type |
string |
|
type |
null |
||
|
Output Channel |
||
Output channel |
|||
type |
integer |
||
minimum |
0 |
HarpBehavior¶
type |
object |
||
properties |
|||
|
Device Type |
||
type |
string |
||
default |
behavior |
||
const |
behavior |
||
|
Additional settings |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Calibration |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Who Am I |
||
type |
integer |
||
default |
1216 |
||
const |
1216 |
||
|
Serial Number |
||
Device serial number |
|||
default |
null |
||
oneOf |
type |
string |
|
type |
null |
||
|
Port Name |
||
Device port name |
|||
type |
string |
HarpClockGenerator¶
type |
object |
||
properties |
|||
|
Device Type |
||
type |
string |
||
default |
clockgenerator |
||
const |
clockgenerator |
||
|
Additional settings |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Calibration |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Who Am I |
||
type |
integer |
||
default |
1158 |
||
const |
1158 |
||
|
Serial Number |
||
Device serial number |
|||
default |
null |
||
oneOf |
type |
string |
|
type |
null |
||
|
Port Name |
||
Device port name |
|||
type |
string |
||
|
Connected Clock Outputs |
||
Connected clock outputs |
|||
type |
array |
||
default |
|||
items |
Rect¶
type |
object |
|
properties |
||
|
X |
|
X coordinate of the top-left corner |
||
type |
integer |
|
minimum |
0 |
|
default |
0 |
|
|
Y |
|
Y coordinate of the top-left corner |
||
type |
integer |
|
minimum |
0 |
|
default |
0 |
|
|
Width |
|
Width of the rectangle |
||
type |
integer |
|
minimum |
0 |
|
default |
0 |
|
|
Height |
|
Height of the rectangle |
||
type |
integer |
|
minimum |
0 |
|
default |
0 |
SpinnakerCamera¶
type |
object |
||
properties |
|||
|
Device Type |
||
Device type |
|||
type |
string |
||
default |
SpinnakerCamera |
||
const |
SpinnakerCamera |
||
|
Additional settings |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Calibration |
||
default |
null |
||
oneOf |
|||
type |
null |
||
|
Serial Number |
||
Camera serial number |
|||
type |
string |
||
|
Binning |
||
Binning |
|||
type |
integer |
||
minimum |
1 |
||
default |
1 |
||
|
Color Processing |
||
Color processing |
|||
type |
string |
||
enum |
Default, NoColorProcessing |
||
default |
Default |
||
|
Exposure |
||
Exposure time |
|||
type |
integer |
||
minimum |
100 |
||
default |
1000 |
||
|
Gain |
||
Gain |
|||
type |
number |
||
minimum |
0.0 |
||
default |
0 |
||
|
Gamma |
||
Gamma. If None, will disable gamma correction. |
|||
default |
null |
||
oneOf |
type |
number |
|
minimum |
0.0 |
||
type |
null |
||
|
ADC bit depth. If None will be left as default. |
||
default |
0 |
||
oneOf |
|||
type |
null |
||
|
Pixel format. If None will be left as default. |
||
default |
0 |
||
oneOf |
|||
type |
null |
||
|
Region of interest |
||
default |
x |
0 |
|
y |
0 |
||
width |
0 |
||
height |
0 |
||
|
Video writer. If not provided, no video will be saved. |
||
default |
null |
||
oneOf |
|||
type |
null |
SpinnakerCameraAdcBitDepth¶
type |
integer |
enum |
0, 1, 2 |
SpinnakerCameraPixelFormat¶
type |
integer |
enum |
0, 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 |
VideoWriter¶
VideoWriterFfmpeg¶
type |
object |
|
properties |
||
|
Video Writer Type |
|
type |
string |
|
default |
FFMPEG |
|
const |
FFMPEG |
|
|
Frame Rate |
|
Encoding frame rate |
||
type |
integer |
|
minimum |
0 |
|
default |
30 |
|
|
Container Extension |
|
Container extension |
||
type |
string |
|
default |
mp4 |
|
|
Output Arguments |
|
Output arguments |
||
type |
string |
|
default |
-vf “scale=out_color_matrix=bt709:out_range=full” -c:v h264_nvenc -pix_fmt nv12 -color_range full -colorspace bt709 -color_trc linear -tune hq -preset p4 -rc vbr -cq 12 -b:v 0M -metadata author=”Allen Institute for Neural Dynamics” -maxrate 700M -bufsize 350M |
|
|
Input Arguments |
|
Input arguments |
||
type |
string |
|
default |
-v verbose -colorspace bt709 -color_primaries bt709 -color_range full -color_trc linear |
VideoWriterOpenCv¶
type |
object |
|
properties |
||
|
Video Writer Type |
|
type |
string |
|
default |
OPENCV |
|
const |
OPENCV |
|
|
Frame Rate |
|
Encoding frame rate |
||
type |
integer |
|
minimum |
0 |
|
default |
30 |
|
|
Container Extension |
|
Container extension |
||
type |
string |
|
default |
avi |
|
|
Four Cc |
|
Four character code |
||
type |
string |
|
default |
FMP4 |