• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

esp32-cam pan and tilt code -change frame siize

Q&A Forum › Category: ESP32 › esp32-cam pan and tilt code -change frame siize
0 Vote Up Vote Down
David Barker asked 3 years ago

hi 
can you tell me how to alter the code to change the frame size from VGA to QVGA  in the esp32-cam pan and tilt tutorial
thanks

Question Tags: esp32 cam frame size
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.

Find this line:

config.frame_size = FRAMESIZE_VGA;

And replace with the following:

config.frame_size = FRAMESIZE_QVGA;

Regards
Sara

0 Vote Up Vote Down
David Barker answered 3 years ago

hi sara
when I change to  config.frame_size = FRAMESIZE_QVGA;  the frame size is tiny about 5mm square
On window 11 with google  chrome Any ideas?
regards david

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Did you change anything on the code?
The CSS is set so that the image width occupies 100% of the screen.

      img {  width: auto ;
        max-width: 100% ;
        height: auto ; 
      }

Regards,
Sara

0 Vote Up Vote Down
David Barker answered 3 years ago

hi Sara
no i have not changed  any of the code    Do I need to change it and if so to what?
regards david 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I’m sorry for taking so long to get back to you.
I tested with QVGA and I also couldn’t make it work.
I’m not sure how to solve that issue.
I’m sorry that I can’t help much.
Meanwhile, if you find out something, let us know.
Regards,
Sara

0 Vote Up Vote Down
David Barker answered 3 years ago

ok will do
regaeds

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.