AR-js-org / AR.js

Image tracking, Location Based AR, Marker tracking. All on the Web.
MIT License
5.41k stars 924 forks source link

Camera quality is lower than it should be #564

Open Platform-Group opened 1 year ago

Platform-Group commented 1 year ago

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

MicrosoftTeams-image (1)

Unable to read text or clearly make out Spotify icon lines. The camera quality within ARJS is noticeably worse than it should be on all devices I've tested on.

If the current behavior is a bug, please provide the steps to reproduce.

Simply use any arjs example

Please mention other relevant information such as the browser version, Operating System and Device Name

Seems to be the case on every device, related to this discussion https://github.com/AR-js-org/AR.js/discussions/266

I don't have a great understanding of threejs but maybe this is relevant as it seems the issue is probably from arjs-webcam-texture.js https://discourse.threejs.org/t/videotexture-antialiasing-resolution-really-jagged-and-low-res/25696/8

I have no clue if this is a source stream, texture mapping, aspect ratio squishing, anti-aliasing, or render resolution issue or what.

What is the expected behavior?

That the camera quality matches the source, here's a screenshot from the camera app:

MicrosoftTeams-image