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
The IBM Watson™ [Personality Insights][personality_insights] service enables applications to derive insights from social media, enterprise data, or other digital communications. The service uses linguistic analytics to infer individuals' intrinsic personality characteristics, including Big Five, Needs, and Values, from digital communications such as email, text messages, tweets, and forum posts. The service can automatically infer, from potentially noisy social media, portraits of individuals that reflect their personality characteristics.
1562
+
The IBM Watson™ [Personality Insights][personality_insights] service provides a Representational State Transfer (REST) Application Programming Interface (API) that enables applications to derive insights from social media, enterprise data, or other digital communications. The service uses linguistic analytics to infer individuals' intrinsic personality characteristics, including Big Five, Needs, and Values, from digital communications such as email, text messages, tweets, and forum posts. The service can automatically infer, from potentially noisy social media, portraits of individuals that reflect their personality characteristics. The service can report consumption preferences based on the results of its analysis, and for JSON content that is timestamped, it can report temporal behavior.
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