I have a simple bag of visual words script that I am attempting to use and learn more about. I am trying to learn what to do with images that are different from my trained class. Currently it puts every image into a class. I understand that is how it is designed to function. Could I use a confidence score to sort out the negatives?
For instance, I am using part of it to recognize animals. If I have classes trained for dogs and cats and I show it a bird it will still put it in one of the two that it has trained because that is the entire vocabulary. Is there a way to make a sort of confidence threshold where it doesn't classify the image until it is a 50% match for instance?
Thanks in advance