| | |
| | | m_results.emplace_back(std::move(changeAnalysisRes(colorIndex, result.info[i].analysis_res))); |
| | | m_results.back().bskRect.setRect(result.info[i].obj_rect.left_, result.info[i].obj_rect.top_, |
| | | result.info[i].obj_rect.width_, result.info[i].obj_rect.height_); |
| | | } else {} |
| | | m_results.back().obj_score = result.info[i].obj_score; |
| | | } else { |
| | | VptDetectResults vptDetectResults; |
| | | vptDetectResults.sdkDetectType = static_cast<SDKDetectType>(colorIndex); |
| | | vptDetectResults.bskRect.setRect(result.info[i].obj_rect.left_, result.info[i].obj_rect.top_, |
| | | result.info[i].obj_rect.width_, result.info[i].obj_rect.height_); |
| | | vptDetectResults.obj_score = result.info[i].obj_score; |
| | | m_results.emplace_back(vptDetectResults); |
| | | } |
| | | } |
| | | //release source |
| | | if (result.info != NULL) { |