diff --git a/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.cpp b/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.cpp index 21befc6..d3cdfbd 100644 --- a/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.cpp +++ b/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.cpp @@ -975,7 +975,7 @@ void CMutliSourceVideoProcess::algorthim_process() if (*iter == viewTaskID) { - cudaMemcpy(task.frameImage.data, task.task_algorithm_data.frame, 3 * task.task_algorithm_data.width * task.task_algorithm_data.height * sizeof(unsigned char), cudaMemcpyDeviceToHost); + cudaMemcpy(task.frameImage.data, task.task_algorithm_data.frame, 3 * frameWidth * frameHeight * sizeof(unsigned char), cudaMemcpyDeviceToHost); view = true; } @@ -1107,8 +1107,6 @@ void CMutliSourceVideoProcess::algorthim_process() cout << "result_analysis time_using:" << result_analysis_time2 - result_analysis_time << endl; #endif - AttributionAnalysis = false; - long long second_analysis_time = get_cur_time_ms(); auto task_iter = TaskinPlayID.begin(); diff --git a/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.h b/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.h index c61d3e5..079e904 100644 --- a/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.h +++ b/vehicle_structure_platform.git0708-3080-trt-face/src/VPT/MutliSourceVideoProcess.h @@ -166,7 +166,6 @@ public: /*��������Ӧ����public�� ������ï std::mutex taskMutex; std::condition_variable taskCondVar; - bool AttributionAnalysis; //���ڿ��ƣ�ÿ֡����ֻ����һ���������Է��� //�㷨���ò��� sy_command m_hp_analysis_config; //�Ƿ���������ʶ��