OpenIris/ESP/include/cameraHandler.h
Zdzislaw Goik b788823375
Feature/refactor architecture (#5)
* Refactor everything under one namespace, turn most things into classes, add support for selecting ROI in cameraHandler, add state management

* Remove unsued main.py file - other projects are working on that implementation
2022-03-20 15:24:28 +01:00

20 lines
462 B
C++

#pragma once
#include "pinout.h"
#include "esp_camera.h"
#include <Arduino.h>
namespace OpenIris{
class CameraHandler {
private:
sensor_t* camera_sensor;
camera_config_t config;
public:
int setupCamera();
int setCameraResolution(framesize_t frameSize);
int setVFlip(int direction);
int setHFlip(int direction);
int setVieWindow(int offsetX, int offsetY, int outputX, int outputY);
};
}