forked from xiaozhi/xiaozhi-esp32
* Add camera support board * Update esp32_camera.cc --------- Co-authored-by: Xiaoxia <terrence@tenclass.com>
16 lines
376 B
C++
16 lines
376 B
C++
#ifndef CAMERA_H
|
|
#define CAMERA_H
|
|
|
|
#include <string>
|
|
|
|
class Camera {
|
|
public:
|
|
virtual void SetExplainUrl(const std::string& url, const std::string& token) = 0;
|
|
virtual bool Capture() = 0;
|
|
virtual bool SetHMirror(bool enabled) = 0;
|
|
virtual bool SetVFlip(bool enabled) = 0;
|
|
virtual std::string Explain(const std::string& question) = 0;
|
|
};
|
|
|
|
#endif // CAMERA_H
|