File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -237,13 +237,16 @@ public void PassThroughLegacyCommandLineParams()
237237 }
238238
239239 // Activation
240- if ( pair . Key . Equals ( "VISION-FACE" , StringComparison . InvariantCultureIgnoreCase ) )
240+ if ( pair . Key . Equals ( "VISION-FACE" , StringComparison . InvariantCultureIgnoreCase ) ||
241+ pair . Key . Equals ( "VISION_FACE" , StringComparison . InvariantCultureIgnoreCase ) )
241242 keyValues [ "Modules:FaceProcessing:EnvironmentVariables:VISION-FACE" ] = pair . Value ;
242243
243- if ( pair . Key . Equals ( "VISION-SCENE" , StringComparison . InvariantCultureIgnoreCase ) )
244+ if ( pair . Key . Equals ( "VISION-SCENE" , StringComparison . InvariantCultureIgnoreCase ) ||
245+ pair . Key . Equals ( "VISION_SCENE" , StringComparison . InvariantCultureIgnoreCase ) )
244246 keyValues [ "Modules:SceneClassification:EnvironmentVariables:VISION-SCENE" ] = pair . Value ;
245247
246- if ( pair . Key . Equals ( "VISION-DETECTION" , StringComparison . InvariantCultureIgnoreCase ) )
248+ if ( pair . Key . Equals ( "VISION-DETECTION" , StringComparison . InvariantCultureIgnoreCase ) ||
249+ pair . Key . Equals ( "VISION_DETECTION" , StringComparison . InvariantCultureIgnoreCase ) )
247250 {
248251 keyValues [ "Modules:VisionObjectDetection:EnvironmentVariables:VISION-DETECTION" ] = pair . Value ;
249252 keyValues [ "Modules:ObjectDetection:EnvironmentVariables:VISION-DETECTION" ] = pair . Value ;
You can’t perform that action at this time.
0 commit comments