Open No3x opened 2 years ago
I did another check and it seems like it can be reproduced also with
const result = await recognitionService.recognize(path_toTestImage, {
det_prob_threshold: 0.95,
status: true
});
http://localhost:8000/api/v1/recognition/recognize?det_prob_threshold=0.95?status=true
Adding limit fixes it
const result = await recognitionService.recognize(path_toTestImage, {
limit: 0,
det_prob_threshold: 0.95,
status: true
});
We are working on this issue and it will be fixed in the next release
Describe the bug If you call
recognize
without limit parameter the url is not valid and a 400 is returned from the REST API.To Reproduce
Prints
http://localhost:8000/api/v1/recognition/recognize?det_prob_threshold=0.95?face_plugins=landmarks,gender,age?status=true
Expected behavior If I do not pass limit it should use a default or build a valid url. Should be
http://localhost:8000/api/v1/recognition/recognize?det_prob_threshold=0.95&face_plugins=landmarks,gender,age&status=true
Maybe other webservers/backends do not care but I use the docker-compose version from https://github.com/exadel-inc/CompreFace/releases/tag/v1.0.0