Comments on: ESP32-CAM Pan and Tilt Video Streaming Web Server (2 Axis) https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 26 Mar 2026 14:40:16 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Darryl Nissen https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1172975 Thu, 26 Mar 2026 14:40:16 +0000 https://randomnerdtutorials.com/?p=101496#comment-1172975 Hi Sara
Yep, all sorted..:
Part of the problem was the old ESP32 version they used at Keyestudio was 2.0.12
Just chatting with Rui on the same project,..
Thanks for reply
Regards
Darryl

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1172948 Thu, 26 Mar 2026 12:26:44 +0000 https://randomnerdtutorials.com/?p=101496#comment-1172948 In reply to Darryl.

Hi.
Only using this
bool Video_Flip = false
Won’t flip the video.

These are the lines they use to flip the video (these are inside an if statement in their example):

// Reduce resolution to VGA for higher frame rate
sensor_t *s = esp_camera_sensor_get();
s->set_framesize(s, FRAMESIZE_VGA);

// Apply vertical flip only, disable horizontal mirror
s->set_vflip(s, 1);    // 1 = Enable vertical flip, 0 = Disable vertical flip
s->set_hmirror(s, 0);  // 1 = Enable horizontal mirror, 0 = Disable horizontal mirror

Regards,
Sara

]]>
By: Darryl https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1172653 Wed, 25 Mar 2026 14:14:18 +0000 https://randomnerdtutorials.com/?p=101496#comment-1172653 Hi Sara
I found it.. the flip line was commented out in the sketch..,
I found the solution guide in another one of your fantastic tutorials on ESP32-CAM…
I’ll fix that tomorrow and should be good
Regards
Darryl

]]>
By: Darryl https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1172350 Wed, 25 Mar 2026 07:08:09 +0000 https://randomnerdtutorials.com/?p=101496#comment-1172350 Hi Sara
I (always) push the boundary, I adapted this project sketch to a Keyestudio Robot kit that initially had the ESP32-CAM fixed on the front
In the sketch they used they have a means of inverting the camera image iff required as follows
// Video Vertical Flip Setting
// Controls whether the video image is flipped vertically (upside down)
// When set to true, the image will be flipped vertically; when false, displays normally
bool Video_Flip = false; // true = vertical flip enabled, false = vertical flip disabled
My gimbal is such that the camera is upside down compared to yours in this sketch and of course the image is upside down!
I cut and pasted the above from the Keyestudio sketch BUT it is still upside down!
Have you had this problem asked of you before?
The Keyestudio uses the same camera BUT an earlier version of ESP32 library 2.0.12 but that shouldn’t matter…
Here’s the link to their project site
docs.keyestudio.com/projects/KS5024/en/latest/docs/4WD%20Camera%20Robot%20Car.html#camera-robot-car
Love to hear from you
Regards
Darryl

]]>
By: Kacper https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1020244 Thu, 27 Mar 2025 19:50:27 +0000 https://randomnerdtutorials.com/?p=101496#comment-1020244 In reply to Sara Santos.

Hi, thanks for your reply. I managed to do it only I have one problem that the camera image stutters a lot when detecting a face, making me think that the servos are not working as they should. Maybe there is something I can change in the code to make it less stressful on my board, for example?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1020214 Thu, 27 Mar 2025 15:58:19 +0000 https://randomnerdtutorials.com/?p=101496#comment-1020214 In reply to Kacper.

Hi.
Unfortunately, we don’t have a code for that specific project you’re asking for.
Regards,
Sara

]]>
By: Kacper https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1020153 Thu, 27 Mar 2025 10:05:39 +0000 https://randomnerdtutorials.com/?p=101496#comment-1020153 Hi i have xiao esp32-s3 sense and i try to do face detection on web server with face tracking from 2x servo 90g (pan&tilt). Is there any code for that?

]]>
By: Kacper https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1020152 Thu, 27 Mar 2025 10:02:44 +0000 https://randomnerdtutorials.com/?p=101496#comment-1020152 In reply to Cony Chiang.

Hi, did you solve your problem? If jest can you send me code?

]]>
By: Allan https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-1009845 Fri, 21 Feb 2025 16:17:23 +0000 https://randomnerdtutorials.com/?p=101496#comment-1009845 In reply to Juan.

Hello, have you solved this problem? Now I also meet this problem and do not know how to solve it. I would be very grateful if you could tell me how to solve it

]]>
By: Blaine Levey https://randomnerdtutorials.com/esp32-cam-pan-and-tilt-2-axis/#comment-975701 Thu, 24 Oct 2024 12:44:40 +0000 https://randomnerdtutorials.com/?p=101496#comment-975701 In reply to DALIA Jean-Charles.

Which camera are you using?

]]>