AI components
Step1: Choose AI components

Component List
1. Face Recognition
Description
Face Recognition component enables you to register a human face in the database and recognition of faces. Multiple APIs are given to user to make it flexible to create applications.
Configuration
APIs List

Face Recognition API
Face Detection API
API | Description |
---|---|
detectFace() | detects faces from given frame. |
Face Recognition API
API | Description |
---|---|
alignFace() | aligns the face with the FaceInfo given by detectFace API. |
getEmbeddings() | Returns embeddings for frame which is 128-D vector |
sameFace() | returns 1 if two images belong to same person. |
Database API
API | Description |
---|---|
storeFace() | store face-embeddings to database. |
findFace() | find face from database. |
db_flush() | flushes the database entries. |
Face Detection API
detectFace()
Description : Detects a face and returns the FaceInfo for each face includes : Confidence score, X,Y Co-ordinates for Face rectangle, area, landmarks etc.
Return-type : vector<FaceInfo>
. FaceInfo is a structure which declaration is given in shunyaface.h.
Usage :
Face Recogntion API
alignFace()
Description : aligns the face with the FaceInfo given by detectFace API, face is aligned and cropped.
Return-type : cv::Mat
Usage:
getEmbeddings()
Description : returns vector of 128-D having unique face information.
Return-type : vector<float>
Usage :
sameFace()
Description : checks whether two face embeddings belong to same person or not
Return-type : int
Returns :
Usage :
Database API
storeFace()
Description : stores facial embeddings to database with name tag
Return-type : int - 1 on success on error code exists by giving an error message.
Usage :
findFace()
Description: find name of face from the database
Return-type: string
Returns : returns name for the person if found in the database or returns "NULL" if no face is found.
Usage:
dbFlush()
Description : flushes the database entries
Return-type: returns 1 on success
usage :
2. Object Detection

Description
Object detection model is trained on 20 objects which are as follows.
Configuration
APIs List
3. Pose Estimation

Description
Configuration
APIs List
4. Face Detection

Description
This is one of the faster face detection application which can detect maximum (need to be specific) face in less time.
Configuration
APIs List
5. Image Classification

Results
Description
Image classification model is trained on imagenet dataset with 1000 classes.
Configuration
APIs List
6. Segmentation

Description
Segmentation model is trained on 80 objects which includes