派生自 libgowrapper/face

zhangmeng
2020-01-11 b7d855f2d445d28a49b863340f91614aabeb1c5b
debug split
1个文件已修改
4 ■■■■ 已修改文件
run.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
run.go
@@ -176,12 +176,16 @@
            if !sdkhelper.ValidRemoteMessage(rMsg, f.typ, f.fnLogger) {
                sdkhelper.EjectResult(nil, rMsg, out)
                f.fnLogger("Face!!!!!!SkdMessage Invalid")
                continue
            }
            i := sdkhelper.UnpackImage(rMsg, f.typ, f.fnLogger)
            if i == nil || i.Data == nil || i.Width <= 0 || i.Height <= 0 {
                sdkhelper.EjectResult(nil, rMsg, out)
                f.fnLogger("Face!!!!!!Unpack Image From SkdMessage Failed")
                continue
            }