@@ -67,7 +67,7 @@ def socket_type_pair(arg):
67
67
"E.g: -cams rgb,m right,c . Default: rgb,c left,m right,m camd,c" )
68
68
parser .add_argument ('-mres' , '--mono-resolution' , type = int , default = 800 , choices = {480 , 400 , 720 , 800 },
69
69
help = "Select mono camera resolution (height). Default: %(default)s" )
70
- parser .add_argument ('-cres' , '--color-resolution' , default = '1080' , choices = {'720' , '800' , '1080' , '1200' , '4k' , '5mp' , '12mp' , '13mp' , '48mp' },
70
+ parser .add_argument ('-cres' , '--color-resolution' , default = '1080' , choices = {'720' , '800' , '1080' , '1012' , ' 1200' , '1520 ' , '4k' , '5mp' , '12mp' , '13mp' , '48mp' },
71
71
help = "Select color camera resolution / height. Default: %(default)s" )
72
72
parser .add_argument ('-rot' , '--rotate' , const = 'all' , choices = {'all' , 'rgb' , 'mono' }, nargs = "?" ,
73
73
help = "Which cameras to rotate 180 degrees. All if not filtered" )
@@ -159,7 +159,9 @@ def socket_type_pair(arg):
159
159
'720' : dai .ColorCameraProperties .SensorResolution .THE_720_P ,
160
160
'800' : dai .ColorCameraProperties .SensorResolution .THE_800_P ,
161
161
'1080' : dai .ColorCameraProperties .SensorResolution .THE_1080_P ,
162
+ '1012' : dai .ColorCameraProperties .SensorResolution .THE_1352X1012 ,
162
163
'1200' : dai .ColorCameraProperties .SensorResolution .THE_1200_P ,
164
+ '1520' : dai .ColorCameraProperties .SensorResolution .THE_2024X1520 ,
163
165
'4k' : dai .ColorCameraProperties .SensorResolution .THE_4_K ,
164
166
'5mp' : dai .ColorCameraProperties .SensorResolution .THE_5_MP ,
165
167
'12mp' : dai .ColorCameraProperties .SensorResolution .THE_12_MP ,
0 commit comments