???
I don't get why you say that... The ESP32 is just the user interface.
If you have an external device capturing pictures, and it has an API to trigger a photo and then get back the bytes from the picture, then you get the quality of that external device.... So if OP has a great quality webcam, then...
I'd love to be proven wrong, but my understanding is that it's still the LS 2.0 protocol and that you have to cobble together drivers for most anything but keyboards and mice, and that webcam interfacing is still quite difficult and produces sketchy results.
Please reference a project of this type or post your on finished code to help OP along.
Although IP cameras are normally used for direct video streaming of live video, many IP Cameras also have an FTP client built in, as well as SMTP (eMail) capability.
If you take a raw image and process it by esp32
That's right, but in the case of a webcam, it's wrong.
If you bring only 1 image of the compressed mjpeg static image and upload it ..
That's it.
This is my first time starting so I just don't know.
A camera so fancy that you don't even need an ESP32 to run it. If the goal is to use it as just an intermediary to connect it to a computer, then just use CameraFTP as you helpfully suggested.
Then you probably want to use a Raspberry Pi. The drivers and all are already available. Raspbian and Arch are good distros. Raspbian is easiest and Arch is lite and super fast.
Well, you've definitely set a solid challenge for yourself.
To write a driver I suggest that you use FREE USB Sniffer & Software USB Protocol Analyzer for Windows (freeusbanalyzer.com) to record the protocol from your computer for initializing the camera, for changing resolution and other settings, and for image capture. You'll also need to figure out how to set it to low speed 2.0 protocol I believe.
I look forward to seeing what you come up with. Please post your progress or results. If you get it working it will make a nice project for the showcase.
Currently, it is a camera + USB cable like a regular GoPro.
It is connected by uvc.
I thought uvc wasn't important because it's a general purpose protocol.
Sorry for the late reply.