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 command line utility, which ships with Windows. Open a command window in the aw_knomi_face_analyzer folder and type any of the following commands:

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