Patent attributes
According to one embodiment, a method, computer system, and computer program product for object detection. The embodiment may include receiving an annotated image dataset comprising rectangles which surround objects to be detected and labels which specify a class to which an object belongs. The embodiment may include calculating areas of high and low probability of rectangle distribution for each class of objects within images of the dataset. The embodiment may include applying a correction factor to confidence values of object prediction results, obtained during validation of a trained object detection (OD) model, depending on a class label and a rectangle location of an object prediction result and calculating an accuracy of the trained OD model. The embodiment may include increasing the correction factor and re-calculating the accuracy of the trained OD model with every increase. The embodiment may include selecting an optimal correction factor which yields a highest accuracy.