ESP32-CAM not showing or takes too long

I wanted to create an ESP32-Cam project that uses face recognition to unlock a servo or a solenoid lock in the future, but I've encountered a few problems that are to be fixed, which I need help on. I recently bought this ESP32-CAM AI Thinker from Temu. Upon arrival everything was streaming. I haven't used the face recognition or detection, as the ESP32 3.3.4 version example code ESP32 CamWebServer doesn't have the options.

So I've decided to degrade the board to 2.0.6, whose example code has a face recognition option, including the face detection one. But the problem is that the streaming was incredibly slow even with the resolution set to 340x240 and even lower. At some point it didn't even show the stream.

if you're wondering what the connections are, I was using an esp32-cam mb (micro USB), so I didn't have to use the FTDI programmer as the ESP32 This is how mine looks like:

I thought it was the PC issue, but once I tried with other devices, it still had the same problem. I think it's unlikely that its the wifi issue since evething else is fine.

From what I've read recently, face recognition on the ESP32-CAM works so poorly that it has been abandoned by most who have worked with it. Nevertheless the attempt could be a good learning experience.

One possibly useful study includes a comparison with Raspberry Pi:
https://ijeec.etf.ues.rs.ba/index.php/ijeec/article/download/188/125/

I was also wondering if there were any other alternatives rather than having to use the Raspberry Pi, as I'm wanting to make a project that includes RFID, fingerprint, pinpad, voice, and face recognition.

And since they're easier to use with the Arduino and ESP32, including trying to create a lightweight project. Plus the only Raspberry product I have is the ancient Raspberry Pi 2 model 2. this one specifically:

Plus, I really don't want to set up, like, an entire new computer to set this up as a 12-year-old trying to follow my ambition.

I tried using OpenCV with Python and Visual Studio Code, but to no avail. :(

Big project, and one that you won't be able to implement on an ESP32.

I really, really like the Pi Zero 2 W (about $20), and it does face detection out of the box: https://community.element14.com/products/roadtest/b/blog/posts/ml-capability-of-raspberry-pi-zero-2w-face-detection-and-image-sorting-using-opencv

Reliable face recognition may require quite a bit more horsepower. Pi 5 example (which surely would run on a Pi 4) at: Face Recognition With Raspberry Pi and OpenCV - Tutorial Australia

I was also wondering if the Arduino Q (clone price-wise) would work since they claim to have built-in face recognition and detection. If they do should I implement this in my code of are there any cons?