Evo 7.12.0-TM26061101
Evo LPR Engine
Loading...
Searching...
No Matches
Picture.hpp
Go to the documentation of this file.
1#ifndef EVO_PICTURE_HPP_
2#define EVO_PICTURE_HPP_
3
4#include "Basic.h"
5
6#include <memory>
7
8
9namespace Evo
10{
11
18class Picture
19{
20public:
21 typedef std::shared_ptr<Picture> Ptr;
22
23protected:
24 Picture(void);
25 virtual ~Picture(void);
26
27public:
33 virtual const EvoImage& GetImage(void) = 0;
34
61 virtual int64_t GetTime(EvoTimeUnit unit = EVOTU_MS) const = 0;
62
72 virtual EvoRC SaveInJPEG(const char *path, int quality = 95) = 0;
73
81 virtual EvoRC SaveInPNG(const char *path, int compression = 1) = 0;
82
83 EVO_RMV_SPECIAL_METHODS(Picture)
84};
85
86} // Evo namespace
87
88#endif // EVO_PICTURE_HPP_
C/C++ header file common to all type of engines and functionalities.
EvoTimeUnit
Time Precision.
Definition Basic.h:416
@ EVOTU_MS
Definition Basic.h:425
EvoRC
Return Codes.
Definition Basic.h:59
virtual const EvoImage & GetImage(void)=0
virtual EvoRC SaveInJPEG(const char *path, int quality=95)=0
virtual EvoRC SaveInPNG(const char *path, int compression=1)=0
virtual int64_t GetTime(EvoTimeUnit unit=EVOTU_MS) const =0
Evo Engine's topmost namespace
Definition CamCalib.hpp:27
Image Descriptor.
Definition Basic.h:510