uArmCreatorStudio icon indicating copy to clipboard operation
uArmCreatorStudio copied to clipboard

Increase camera resolution for better recognition

Open joihn opened this issue 7 years ago • 1 comments

Hi,

I have a pretty decent camera (latest logitec c922, which is capable of outputing full hd) and a very big and very detailed marker, but the program can't detect more than ∼490 points, which isn't enough for accuracy.

I have tried : update camera driver ( I'm on window 10, so it should be okay), bigger and more detailed marker, better lighting, manual focus, zooming the camera via the logitech interface (which by the way reduce my FOV) but no success ...)

Any idea ?

The solution might be to increase the video input resolution (my computer is probably capable of processing bigger image).

Is the input resolution hardcoded anywhere ? I can't find it.

Thanks for your increadible work ! Is it a good idea to add color to the marker ?

joihn avatar Dec 28 '16 16:12 joihn

Hi Joihn,

Currently the camera resolution is set to 640x480 regardless of the maximum capability of the camera. The reasons for this (which I agree aren't good enough reasons) are because: different camera aspect ratios might not be tested for, higher resolution will almost for sure lag the system heavily, lower resolution can actually be a good thing for computer vision as it gets rid of detail that might not be relevant, and finally, I never designed the interface to handle bigger resolutions.

So, to solve this; -I need some kind of interface that allows the user to select different resolutions. -There needs to be a way to scale the CameraView widget regardless of the true HD of the camera -There needs to be a way to alert the user that HD might not be a good idea.

Thoughts?

apockill avatar Dec 28 '16 18:12 apockill