Update esp32cam-demo.ino

master
Alan 2021-04-16 07:34:01 +01:00 zatwierdzone przez GitHub
rodzic c007ee8383
commit aedbf9e91e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -953,13 +953,13 @@ void handleNotFound() {
// ---------------------------------------------------------------- // ----------------------------------------------------------------
//Demonstration on how to access raw RGB data from the camera //Demonstration on how to access raw RGB data from the camera
// Notes: // Notes:
// Set sendRGBfile to 1 in the settings at top of sketch to just send the rgb data as a file // Set sendRGBfile to 1 in the settings at top of sketch to just send the rgb data as a file which can then be used with
// If this is all that is sent then it will download to the client as a raw RGB file which you can then view using this // the Processing sketch: https://github.com/alanesq/esp32cam-demo/blob/master/Misc/displayRGB.pde
// Processing sketch: https://github.com/alanesq/esp32cam-demo/blob/master/Misc/displayRGB.pde // otherwise a web page is displayed showing some sample rgb data usage.
// You may want to disable auto white balance when experimenting with RGB otherwise the camera is always trying to adjust the // You may want to disable auto white balance when experimenting with RGB otherwise the camera is always trying to adjust the
// image colours to mainly white. (disable in the 'cameraImageSettings' procedure). // image colours to mainly white. (disable in the 'cameraImageSettings' procedure).
// It will fail on the highest resolution (1600x1200) as it requires more than the 4mb of available psram to store the data (1600x1200x3 bytes) // It will fail on the highest resolution (1600x1200) as it requires more than the 4mb of available psram to store the data (1600x1200x3 bytes)
// - I discovered how to read the RGB data from: https://github.com/Makerfabs/Project_Touch-Screen-Camera/blob/master/Camera_v2/Camera_v2.ino // I learned how to read the RGB data from: https://github.com/Makerfabs/Project_Touch-Screen-Camera/blob/master/Camera_v2/Camera_v2.ino
void readRGBImage() { void readRGBImage() {