API Reference

This documentation contains reference for all endpoints available in DeepStack.

Face Detection

http://localhost:80/v1/vision/face

The face detection API detects faces and returns their coordinates. It functions similarly to the face recognition API except that it does not perform recognition.

image ( file , required ) : an image object

min_confidence ( float , optional ) : minimum confidence to apply to results, any value from 0.0 to 1.0


Face Registration

http://localhost:80/v1/vision/face/register

The face registration endpoint allows you to register pictures of person and associate it with a userid. You can specify multiple pictures per person during registration.

image ( file , required ) : an image object

name ( string , required ) : a unique id or name


Face Recognition

http://localhost:80/v1/vision/face/recognize

The face recognition endpoint detects all faces in an image and returns the userid for each face. Note that the userid was specified during the registration phase. If a new face is encountered, the userid will be unknown.

image ( file , required ) : an image object

min_confidence ( float , optional ) : minimum confidence to apply to results, any value from 0.0 to 1.0


http://localhost:80/v1/vision/face/list

The face recognition API allows you to retrieve and delete faces that have been previously registered with DeepStack.

image ( file , required ) : an image object


http://localhost:80/v1/vision/face/delete

The face recognition API allows you to ensure that a specific name faces that have been deleted with DeepStack.

name ( string , required ) : a unique id or name


Face Match

http://localhost:80/v1/vision/face/match

The face match api compares faces in two different pictures and tells the similarity between them. A typical use of this is matching identity documents with pictures of a person.

image ( file , required ) : an image object


Object Detection

http://localhost:80/v1/vision/detection

The object detection API locates and classifies 80 different kinds of objects in a single image.

image ( file , required ) : an image object

min_confidence ( float , optional ) : minimum confidence to apply to results, any value from 0.0 to 1.0


Image Enhance

http://localhost:80/v1/vision/enhance

The image enhance API enlarges your image by 4X the original width and height, while simulatenously increasing the quality of the image.

image ( file , required ) : an image object


Scene Recognition

http://localhost:80/v1/vision/scene

The scene recognition api classifies an image into one of 365 scenes.

image ( file , required ) : an image object


Indices and tables