const results = await tfImageRecognition.recognize({
image: require('../../assets/earth-alighted.jpeg'), // Also tried using "file://image_ocation.jpg" of cached image location from React-Native-Camera `takePictureAsync()`
inputName: "input",
inputSize: 224,
outputName: "output",
maxResults: 3,
threshold: 0.1,
});
Could it be because the property values inputSize, outputName... are not correct? How would I determine what those values are?
I saw in issue #11 that the outputName needs to be the same output name as the model used - I'm using the YOLO2 model. Could this maybe be the issue, that it's not mapping the return result correctly?
Could it be because the property values
inputSize, outputName...are not correct? How would I determine what those values are?I saw in issue #11 that the
outputNameneeds to be the same output name as the model used - I'm using the YOLO2 model. Could this maybe be the issue, that it's not mapping the return result correctly?