Send photos captured with the ESP32-CAM via serial

Hi
I want to Capture image using ESP32-Cam (OV2640) using ESP32-cam then send via Serial port( UOTXD)
The ESP-Cam takes the picture and sends it to ESP32, I would like to get the image and send it to Arduino using a serial port

I used camera.capture(); camera.writeBmp(Serial ); but the serial data not recognized as bmp image

Thanks in Advance.

https://www.google.de/search?as_q=random+nerd+tutorials+ESP32+camera

best regards Stefan

aya199:
I used camera.capture(); camera.writeBmp(Serial ); but the serial data not recognized as bmp image

By what?

...R

I used Arduino Ide software
also, I connect uot pin on esp32-cam with IR transmitter circuit but the received data wasn't recognized as BMP image, so I think that the problem is from the serial port on esp32-cam camera.writeBmp(Serial ) since I check the received circuit and it is worked.

Check thread:
https://forum.arduino.cc/index.php?topic=676260.msg4567627#msg4567627