| | |
| | | } |
| | | |
| | | sdkInfo := msg.Tasklab.Sdkinfos[int(msg.Tasklab.Index)] |
| | | s.fnLogger("reid !!!!!! Recv From Humantrack SDK Result Length: ", len(sdkInfo.Sdkdata)) |
| | | s.fnLogger("reid~~~~~~Recv From Humantrack SDK Result Length: ", len(sdkInfo.Sdkdata)) |
| | | |
| | | res := &protomsg.HumanTrackResult{} |
| | | if err := proto.Unmarshal(sdkInfo.Sdkdata, res); err != nil { |
| | |
| | | if len(res.Result) > 0 { |
| | | if out, err := proto.Marshal(res); err == nil { |
| | | msg.Tasklab.Sdkinfos[int(msg.Tasklab.Index)].Sdkdata = out |
| | | s.fnLogger("reid !!!!!! Send To Humantrack Result Length:", len(out)) |
| | | s.fnLogger("reid~~~~~~Send To Humantrack Result Length:", len(out)) |
| | | } |
| | | } |
| | | |
| | |
| | | s.fnLogger("reid !!!!!! proto.Marshal Failed To Marshal proto.SdkMessage") |
| | | continue |
| | | } |
| | | // s.fnLogger("reid !!!!!! MSG Send Back To Humantrack Length:", len(data)) |
| | | s.fnLogger("reid~~~~~~MSG Send Back To Humantrack Length:", len(data)) |
| | | |
| | | chSnd <- data |
| | | } else { |