I am looking some like the popup camera of the Oppo F11 Pro that can be connected via USB-C. Here is an example:
I think something exactly this small would be impossible as most of its connections, board and circuits are inside the smartphone. So, maybe even a little bigger would be fine as long it would not be just impossibly massive like normal webcams are for my use case.
All I need it for is to scan Pokemon TCG Live codes from booster packs I open while not at home. So for video quality as long as a QR Code is readable its fine.
Droidcam is a pretty decent option too for using Android phones as a webcam, that’s what I’ve used on Linux to accomplish similar things. Just run the droidcam server on the Steam Deck and either connect to it from the phone via local IP address or over USB.
Literally only found this out the other day, great comment. I needed head tracking for beamng to complete my setup and found my phone’s camera obviously outperformed my webcam. No latency over usb! Anyone wanting to know an easy way to head track with a webcam or phone should try to use droidcam with Open track. :)
That’s actually something I have not thought about at all, despite having used DroidCam a lot in the past.