2025-05-25 17:07:07 +08:00
|
|
|
#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;
|
2025-05-26 18:28:51 +08:00
|
|
|
virtual bool SetHMirror(bool enabled) = 0;
|
|
|
|
|
virtual bool SetVFlip(bool enabled) = 0;
|
2025-05-25 17:07:07 +08:00
|
|
|
virtual std::string Explain(const std::string& question) = 0;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CAMERA_H
|