Open navneet-applify opened 4 years ago
There is no easy fix to this, however, I can suggest some alternatives. You want your model to learn features and not just colors (maybe to some extent yes) of each object you want to detect. You can probably achieve this by augmenting your images and increasing the size of the dataset. For choosing which augmentation to apply, choose anything which might change colors of an object to a little extent but retain the overall structure and shapes of the objects you want to classify. I could think of changing brightness, saturation, contrast, hue, etc. Although this will increase your model's learning capability, it will still give a class label from the classes you have provided. 2 possible fixes:
Hi Ashwin
Thanks for suggestion
I think your second point can be helpful. I will try and let you know about this. And one more thing do I have to add landscape and verticle image of the same model? because in some cases the failure to scan in portrait or landscape.
I think there may be some image size issues, because having both portrait and landscape may result in inconsistent image sizes.
Hello. Thanks for this awesome lib.
I'm facing a problem that it is detecting the other objects which similar to the trained object in terms of colors.
How can i stop TensorFlow to not give a result based on some color matching thing?
Please let me know if there's anything I can do.