NormandErwan / ArucoUnity

Bring augmented reality to Unity by tracking Aruco markers in real time.
https://normanderwan.github.io/ArucoUnity/
BSD 3-Clause "New" or "Revised" License
204 stars 38 forks source link

Webcam not using max resolution during the calibration process. #36

Open RobDEdw opened 3 years ago

RobDEdw commented 3 years ago

Hi, I'm starting to use ArucoUnity to try and create a basic AR app but I have noticed an issue during the calibration process. I have been using a plugin USB webcam attached to my PC initially to begin to understand how the system works and I have run through the calibration process and marker detection using it with no problems. However my app will need to run as a standalone build on a windows tablet so I have started to use a laptop that has a built in webcam to check that the same process works on hardware with built in cameras and I have found an issue. The laptop's camera is able to work at a maximum resolution of 1920 x 1080 (the same as the plugin webcam) but the calibration process is running at 640 x 480 when I read through the calibration output XML file. Is there a setting I'm missing to set the calibration resolution in ArucoUnity? I'm using a HP ZBook running Windows 10 and I don't see any Windows hardware settings for the camera. Thank you in advance for any help you maybe able to provide.

RobDEdw commented 3 years ago

My mistake the laptop built in camera is only capable of 720p @ 30 frames per second max. But this is still above the setting that the calibration application using.