| | |
| | | } else if sdkType == PlateID { |
| | | e = sdk.NewPlateIDDetector(util.SCI.LicenseServerPath, util.SCI.Model, util.SCI.MaxImageWidth, util.SCI.MaxImageHeight) |
| | | } else if sdkType == HumanTrack { |
| | | e = sdk.NewHumanTracker(gpu, 1, 0) |
| | | e = sdk.NewHumanTracker(gpu, 16, 0) |
| | | } |
| | | |
| | | if ret { |
| | |
| | | mapCameraImageIndex map[string]int |
| | | recvImageCount int |
| | | index int |
| | | images [batchSize]*gohumantrack.ImageHumanTracker |
| | | msgs [batchSize]*work.MsgRS |
| | | images []*gohumantrack.ImageHumanTracker |
| | | msgs []*work.MsgRS |
| | | } |
| | | |
| | | // NewHumanTracker new |
| | |
| | | |
| | | recvImageCount: 0, |
| | | index: 0, |
| | | images: make([]*gohumantrack.ImageHumanTracker, batchSize), |
| | | msgs: make([]*work.MsgRS, batchSize), |
| | | } |
| | | } |
| | | |