Running a Sample RequestΒΆ

Once you have the Knomi Face Analyzer REST server running, you can run one of the sample requests using the curl utility:

curl -H "Content-Type: application/json" -X POST -d @analyze_image_sample.json http://localhost:8080/preface/analyzeImage
curl -H "Content-Type: application/json" -X POST -d @autocapture_sample.json http://localhost:8080/preface/autocaptureVideo
curl -H "Content-Type: application/json" -X POST -d @calculate_roi_sample.json http://localhost:8080/preface/calculateROI