We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55954f commit 2e0dde3Copy full SHA for 2e0dde3
gen2-age-gender/main.py
@@ -7,7 +7,7 @@
7
8
det = oak.create_nn('face-detection-retail-0004', color)
9
# AspectRatioResizeMode has to be CROP for 2-stage pipelines at the moment
10
- det.config_nn(aspectRatioResizeMode=AspectRatioResizeMode.CROP)
+ det.config_nn(aspect_ratio_resize_mode='stretch')
11
12
age_gender = oak.create_nn('age-gender-recognition-retail-0013', input=det)
13
# age_gender.config_multistage_nn(show_cropped_frames=True) # For debugging
0 commit comments