mlapi image resizing curiosity
Posted: Fri Jul 31, 2020 10:29 pm
Sorry if this is the wrong place, but I can't find any other support info for mlapi/zmeventserver questions.
At any rate, in the latest version of mlapi (and, presumably, zmeventserver), I noticed that in the config it notes that the image will be internally resized to 416x416. This made me wonder about a couple of things:
1) Since that is square, but my input images are not, is the input image distorted on this resize? If so, wouldn't that affect recognition accuracy? Or is it simply resized to be no more than 416x416, while keeping the aspect ratio?
2) Since the image is going to be resized internally, would it be better to enable the resize_image option in the objectconfig.ini? Or is said option no longer relevant since it is resizing internally?
3) Why so small? Does image recognition work better on small images?
At any rate, in the latest version of mlapi (and, presumably, zmeventserver), I noticed that in the config it notes that the image will be internally resized to 416x416. This made me wonder about a couple of things:
1) Since that is square, but my input images are not, is the input image distorted on this resize? If so, wouldn't that affect recognition accuracy? Or is it simply resized to be no more than 416x416, while keeping the aspect ratio?
2) Since the image is going to be resized internally, would it be better to enable the resize_image option in the objectconfig.ini? Or is said option no longer relevant since it is resizing internally?
3) Why so small? Does image recognition work better on small images?