Commit 52d214c5893b130255f2ee93727449fe03663819
1 parent
f36a280a
删除不用的注释
Showing
1 changed file
with
0 additions
and
24 deletions
src/ai_platform/MultiSourceProcess.cpp
@@ -794,30 +794,6 @@ int CMultiSourceProcess::algorthim_process_thread(){ | @@ -794,30 +794,6 @@ int CMultiSourceProcess::algorthim_process_thread(){ | ||
794 | algorthim_face_detect(vec_gpuMem); | 794 | algorthim_face_detect(vec_gpuMem); |
795 | #endif | 795 | #endif |
796 | 796 | ||
797 | - | ||
798 | - // static int index = 0; | ||
799 | - // index++; | ||
800 | - | ||
801 | - // DeviceMemory* mem = vec_gpuMem[0]; | ||
802 | - // if(index % 100 == 0){ | ||
803 | - // string task_id = mem->getId(); | ||
804 | - | ||
805 | - // string video_file_name = "/home/cmhu/vpt_ascend_arm/bin/res/video_recode/"; | ||
806 | - // video_file_name += task_id + "_" + std::to_string(mem->getFrameNb()) + ".mp4"; | ||
807 | - | ||
808 | - // RecoderInfo recoderInfo; | ||
809 | - // recoderInfo.task_id = task_id; | ||
810 | - // recoderInfo.object_id = std::to_string(index); | ||
811 | - // recoderInfo.recoderPath = video_file_name; | ||
812 | - // recoderInfo.frame_nb = mem->getFrameNb(); | ||
813 | - // recoderInfo.mq_info = task_id + "_" + std::to_string(mem->getFrameNb()); | ||
814 | - | ||
815 | - // m_recoderinfo_queue_mtx.lock(); | ||
816 | - // m_recoderinfo_queue.push_back(recoderInfo); | ||
817 | - // m_recoderinfo_queue_mtx.unlock(); | ||
818 | - // } | ||
819 | - | ||
820 | - | ||
821 | // auto record_t2 = std::chrono::system_clock::now(); | 797 | // auto record_t2 = std::chrono::system_clock::now(); |
822 | // auto record_time = std::chrono::duration_cast<std::chrono::milliseconds>(record_t2 - record_t1).count(); | 798 | // auto record_time = std::chrono::duration_cast<std::chrono::milliseconds>(record_t2 - record_t1).count(); |
823 | // LOG_INFO("Record per frame cost time: {} ms fps: {}", record_time/vec_gpuMem.size(), 1000/(record_time/vec_gpuMem.size())); | 799 | // LOG_INFO("Record per frame cost time: {} ms fps: {}", record_time/vec_gpuMem.size(), 1000/(record_time/vec_gpuMem.size())); |