wangrong
2025-03-19 291afb9c81aae1d15d9e3edcea618d0a2e1fc5a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#pragma once
 
#include <memory>
#include <vector>
#include <string>
 
namespace vp_objects {
    class vp_frame_text_target
    {
    private:
        /* data */
    public:
        vp_frame_text_target(std::vector<std::pair<int, int>> region_vertexes, std::string text, float score);
        ~vp_frame_text_target();
 
        std::vector<std::pair<int, int>> region_vertexes;
        std::string text;
        float score;
 
        // flags for text
        std::string flags = "";
        // clone myself
        std::shared_ptr<vp_frame_text_target> clone();
    };
}