In xml generated added the ratio between of the correct bounding box (based on dynamic threshold)