We trained a model with Create ML object detection module.
Now we are using model in a Swift application and having no problem detecting objects at live camera feed .
Our problem is with area of interest.
While keeping area of interest width and height constant if we change its location on camera frame detected objects bounding width and height changes.
We experimented first on shifting area on x axis as can be seen on image we attached.
Well, we could be doing something wrong or there is something we dont know.
Either way we could find the reason.

We are using to get observation using;
guard let observations = request.results as? [VNRecognizedObjectObservation] else {
return
}