Skip to content

Commit 9323c7d

Browse files
committed
Added 13mp option to cam_test (for OAK-D-Lite)
(cherry picked from commit a16a5f5)
1 parent 2b97f9d commit 9323c7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utilities/cam_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def socket_type_pair(arg):
6464
"E.g: -cams rgb,m right,c . Default: rgb,c left,m right,m camd,c")
6565
parser.add_argument('-mres', '--mono-resolution', type=int, default=800, choices={480, 400, 720, 800},
6666
help="Select mono camera resolution (height). Default: %(default)s")
67-
parser.add_argument('-cres', '--color-resolution', default='1080', choices={'720', '800', '1080', '1200', '4k', '5mp', '12mp', '48mp'},
67+
parser.add_argument('-cres', '--color-resolution', default='1080', choices={'720', '800', '1080', '1200', '4k', '5mp', '12mp', '13mp', '48mp'},
6868
help="Select color camera resolution / height. Default: %(default)s")
6969
parser.add_argument('-rot', '--rotate', const='all', choices={'all', 'rgb', 'mono'}, nargs="?",
7070
help="Which cameras to rotate 180 degrees. All if not filtered")
@@ -145,6 +145,7 @@ def socket_type_pair(arg):
145145
'4k': dai.ColorCameraProperties.SensorResolution.THE_4_K,
146146
'5mp': dai.ColorCameraProperties.SensorResolution.THE_5_MP,
147147
'12mp': dai.ColorCameraProperties.SensorResolution.THE_12_MP,
148+
'13mp': dai.ColorCameraProperties.SensorResolution.THE_13_MP,
148149
'48mp': dai.ColorCameraProperties.SensorResolution.THE_48_MP,
149150
}
150151

0 commit comments

Comments
 (0)