API endpoints: https://delta24-mini-django-api-v1.herokuapp.com/
NOTE
- Use 100x100 image dimension on these endpoints to avoid memory leak, due to large numpy array. (For face training and face recognition API's)
- Server sleeps after 30 minutes of inactivity and will take time to restart on new requests after 30 minutes of inactivity.
API endpoint:
/face_detection/train/firebase/
Method: POST
Parameters:
image
Type: Image
Alternative:url
(Image URL)
Description: Single image file with 1 person in image.name
Type: String
Description: Name of the person.resume
(optional)
Type: Boolean
Description: Resume training or overwrite all previous trainings.
API endpoint:
/face_detection/detect/firebase/
Method: POST
Parameters:
image
Type: Image
Alternative:url
(Image URL)
Description: Single image file with 1 person in image.
API endpoint:
/colortransfer/
Method: POST
Parameters:
source_url
Type: Image
Alternative:source_url
(Image URL)
Description: Single image file or URL of image.target_image
Type: Image
Alternative:target_url
(Image URL)
Description: Single image file or URL of image.json
Type: Boolean
Description: To get image as Base64 URL set it astrue
and for Image response set it asfalse
.
API endpoint:
/sudoku/solver/
Method: POST
Parameters:
sudoku
Type: 2D-Array/List
Description: 2D-Array/List, with blank cells of sudoku filled with 0.
API endpoint:
/sudoku/extractor/
Method: POST
Parameters:
image
Type: Image
Alternative:url
(Image URL)
Description: Single image file with a cropped sudoku puzzle.