diff --git a/plugins/ai_shoe_det/ai_shoe_det_node.cpp b/plugins/ai_shoe_det/ai_shoe_det_node.cpp index 3d289ea..26c20d1 100644 --- a/plugins/ai_shoe_det/ai_shoe_det_node.cpp +++ b/plugins/ai_shoe_det/ai_shoe_det_node.cpp @@ -592,13 +592,11 @@ private: const size_t packed_size = static_cast(model_w_) * static_cast(model_h_) * 3; if (resized_data && resized_stride > 0) { if (packed_size > input_buf_.size()) input_buf_.resize(packed_size); - if (resized_frame.DmaFd() >= 0) resized_frame.SyncStart(); for (int row = 0; row < model_h_; ++row) { memcpy(input_buf_.data() + static_cast(row) * static_cast(model_w_) * 3, resized_data + static_cast(row) * static_cast(resized_stride), static_cast(model_w_) * 3); } - if (resized_frame.DmaFd() >= 0) resized_frame.SyncEnd(); model_input_data = input_buf_.data(); model_input_size = packed_size; }