Ask Your Question

Revision history [back]

Image size for object tracking

Hello,

i´m working on a tracking objects app. it also works if I take a image from the internet for example, with a width of 1000px. this picture i resize then: Imgproc.resize(referenceImageGray, referenceImageGray, new Size(((double)referenceImageGray.width() / divFaktor), ((double)referenceImageGray.height() / divFaktor)));

but when I take a photo from the camera (2448px * 3264px) and scale it down to about 480x360. find the app the image only on a small distance between image and camera.

what can I do to improve this?

Image size for object tracking

Hello,

i´m working on a tracking objects app. it also works if I take a image from the internet for example, with a width of 1000px. this picture i resize then: Imgproc.resize(referenceImageGray, referenceImageGray, new Size(((double)referenceImageGray.width() / divFaktor), ((double)referenceImageGray.height() / divFaktor)));

but when I take a photo from the camera (2448px * 3264px) and scale it down to about 480x360. find the app the image only on a small distance between image and camera.

what can I do to improve this?