You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
removed delete customization in integration test - working fine in Unity, not in test for some reason. Null reference check in VisualRecognition unit test.
Log.Debug("TestVisualRecognition","\tDetectFaces GET source_url: {0}, resolved_url: {1}",faces.source_url,faces.resolved_url);
400
400
foreach(OneFaceResultfaceinfaces.faces)
401
401
{
402
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Face location: {0}, {1}, {2}, {3}",face.face_location.left,face.face_location.top,face.face_location.width,face.face_location.height);
403
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Gender: {0}, Score: {1}",face.gender.gender,face.gender.score);
404
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Age Min: {0}, Age Max: {1}, Score: {2}",face.age.min,face.age.max,face.age.score);
405
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Name: {0}, Score: {1}, Type Heiarchy: {2}",face.identity.name,face.identity.score,face.identity.type_hierarchy);
402
+
if(face.face_location!=null)
403
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Face location: {0}, {1}, {2}, {3}",face.face_location.left,face.face_location.top,face.face_location.width,face.face_location.height);
404
+
if(face.gender!=null)
405
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Gender: {0}, Score: {1}",face.gender.gender,face.gender.score);
406
+
if(face.age!=null)
407
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Age Min: {0}, Age Max: {1}, Score: {2}",face.age.min,face.age.max,face.age.score);
408
+
if(face.identity!=null)
409
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces GET Name: {0}, Score: {1}, Type Heiarchy: {2}",face.identity.name,face.identity.score,face.identity.type_hierarchy);
Log.Debug("TestVisualRecognition","\tDetectFaces POST source_url: {0}, resolved_url: {1}",faces.source_url,faces.resolved_url);
426
430
foreach(OneFaceResultfaceinfaces.faces)
427
431
{
428
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Face location: {0}, {1}, {2}, {3}",face.face_location.left,face.face_location.top,face.face_location.width,face.face_location.height);
429
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Gender: {0}, Score: {1}",face.gender.gender,face.gender.score);
430
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Age Min: {0}, Age Max: {1}, Score: {2}",face.age.min,face.age.max,face.age.score);
431
-
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Name: {0}, Score: {1}, Type Heiarchy: {2}",face.identity.name,face.identity.score,face.identity.type_hierarchy);
432
+
if(face.face_location!=null)
433
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Face location: {0}, {1}, {2}, {3}",face.face_location.left,face.face_location.top,face.face_location.width,face.face_location.height);
434
+
if(face.gender!=null)
435
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Gender: {0}, Score: {1}",face.gender.gender,face.gender.score);
436
+
if(face.age!=null)
437
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Age Min: {0}, Age Max: {1}, Score: {2}",face.age.min,face.age.max,face.age.score);
438
+
if(face.identity!=null)
439
+
Log.Debug("TestVisualRecognition","\t\tDetectFaces POST Name: {0}, Score: {1}, Type Heiarchy: {2}",face.identity.name,face.identity.score,face.identity.type_hierarchy);
0 commit comments