@@ -175,7 +175,7 @@ public class ImageFoundRequestHandler implements RequestHandler {
|
||||
double watermarkCorrelation = success.getWatermarkCorrelation();
|
||||
log.info("watermarkCorrelation: " + watermarkCorrelation);
|
||||
|
||||
if (watermarkCorrelation < 50.0) {
|
||||
if (watermarkCorrelation < 0.5) {
|
||||
return new BaseResponse(request.getMsgId(), MessageCode.SUCCESS.getCode(),
|
||||
"Not found similar pictures", new YandexSearchResponse());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user