Left Logo

API 测试文档

Right Logo
/tension - tension Detection 焦虑检测

Description: 该API通过面部特征、情绪分析及呼吸频率检测来分析参与者的焦虑程度.

Input: JSON object with image data, image transmission frequency and session id.

Output: JSON object with tension level score.

Swagger UI: click here

API port: https://boe-demo.stern.tech/tension/

/nlp - Language Emotion Analysis 语言分析

Description: 该API通过对文本进行自然语言处理来分析文本中包含的情绪、软技能、需求、动机等。该API输入为文本,需另外接入语音转文字的API进行使用。

Input: JSON object with text data.

Output: JSON object with detected emotion, soft skills, satisfaction, needs, and motivation, along with their corresponding valence and arousal.

Swagger UI: click here

API port: https://boe-demo.stern.tech/nlp/

/dsd - Fatigue and Concentration Detection 疲劳和注意力检测

Description: 该API通过分析用户注意力集中区域和眼部特征来判断用户的疲劳度和专注度.

Input: JSON object with image data, fps and window size.

Output: JSON object with fatigue and concentration scores.

Swagger UI: click here

API port: https://boe-demo.stern.tech/dsd/

/au - Facial Action Unit Capture 面部动作单位捕捉

Description: 该API通过人脸特征分析来获取用户面部的动作单位。面部动作单位可用于分析用户情绪,焦虑度等。

Input: JSON object with image data.

Output: JSON object with facial action unit data and their corresponding probability.

Swagger UI: click here

API port: https://boe-demo.stern.tech/au/

/respi - Respiratory Rate Detection 呼吸频率检测

Description: 该API通过15秒的视频图像来分析计算用户的呼吸频率。由于服务器限制,图像传输频率暂时限制在300ms到500ms。图像需拍摄到用户胸部以上的区域。前15秒为数据采集区间,没有分析结果。从第15秒开始滚动1秒窗口进行检测。

Input: JSON object with image, image transmission frequency and session id .

Output: JSON object with respiratory rate.

Swagger UI: click here

API port: https://boe-demo.stern.tech/respi/