Investigate Cropping on the PlantNet model
UPstartDeveloper opened this issue · 0 comments
UPstartDeveloper commented
In the repo that houses the PlanetNet API, which we use here to do a leaf health check, can we make sure the way the images are cropped is not throwing off the model?
For example, the model expects a Tensor of dimensions (256, 256, 3), however, a typical iPhone photo will be around (630 x 850 x 3). And it's probably only going to get bigger from there since the screens get bigger almost every year.
Could we please take a look at the output of tf.image.resize(tensor_image, [256, 256])
on line 64 of util.leaf
in the PlantNet API repo, and verify if it's something we think the model should be able to understand?