I have a program that takes a video feed from RSTP and checks for an object. The only problem is that the object needs to be about 6" from the camera but when I use a wired webcam the object can be a few feet away. Both camera are transmitting at the same resolution, what is causing this problem?
Camera transmission specs:
Resolution: 640 * 480
FPS: 20
Bitrate: 500000
Focal Length: 2.8mm
EDIT: The algorithm I am using is the OpenCV ORB algorithm but I have also seen this behavior when previously using the Haar classifier method in OpenCV.
Below is the limit at which the webcam can no longer detect the object. (approx. 66 pixels)
Below is the limit that Glass can no longer detect the object. (approx. 68 pixels)
Looking at the image it looks like the distance is similar but the distance is at least twice that in the webcam image, which looks to me like it is a camera property that is causing this issue? if so what part of the camera would be responsible for causing this?