Video Analysis底层库拆分,sdk的go封装
zhangmeng
2019-04-29 e3a2151968276a71a617d88965281e279ad68236
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs cgodefs.go
 
package gosdk
 
type CPOINT struct {
    X    int32
    Y    int32
}
type CRECT struct {
    Left    int32
    Top    int32
    Right    int32
    Bottom    int32
}
type CIMAGE struct {
    Data        *uint8
    Width        int32
    Height        int32
    Channel        int32
    Pad_cgo_0    [4]byte
}
type CFaceAngle struct {
    Yaw        int32
    Pitch        int32
    Roll        int32
    Confidence    float32
}
type CThftResult struct {
    Gender        int32
    Age        int32
    Race        int32
    Beauty_level    int32
    Smile_level    int32
}
type CFacePos struct {
    RcFace        CRECT
    PtLeftEye    CPOINT
    PtRightEye    CPOINT
    PtMouth        CPOINT
    PtNose        CPOINT
    FAngle        CFaceAngle
    NQuality    int32
    PFacialData    [512]uint8
}
type CFaceInfo struct {
    RcFace        CRECT
    PtLeftEye    CPOINT
    PtRightEye    CPOINT
    PtMouth        CPOINT
    PtNose        CPOINT
    FAngle        CFaceAngle
    NQuality    int32
    PFacialData    [8192]uint8
    NFaceID        int64
}
type CObjInfo struct {
    RcObj    CRECT
    Typ    int32
    Prob    float32
}