fix: resolved code review comments

Change List:
- removed some debug lines
This commit is contained in:
dmaletskiy 2021-07-02 11:58:01 +03:00
parent c48c01ca75
commit 26b367dc69
2 changed files with 0 additions and 12 deletions

View File

@ -57,9 +57,6 @@ absl::Status MPFaceMeshDetector::ProcessFrameWithStatus(
.At(mediapipe::Timestamp(frame_timestamp_us))));
LOG(INFO) << "Pushed new frame.";
#ifdef DEBUG
LOG(INFO) << "Pushed new frame.";
#endif
mediapipe::Packet face_count_packet;
if (!face_count_poller_ptr ||
!face_count_poller_ptr->Next(&face_count_packet)) {
@ -69,10 +66,6 @@ absl::Status MPFaceMeshDetector::ProcessFrameWithStatus(
}
auto &face_count = face_count_packet.Get<int>();
#ifdef DEBUG
LOG(INFO) << "Got face_count: " << face_count;
#endif
if (!face_count) {
return absl::Status();
}
@ -98,10 +91,6 @@ absl::Status MPFaceMeshDetector::ProcessFrameWithStatus(
const auto landmarks_num = normalizedLandmarkList.landmark_size();
#ifdef DEBUG
LOG(INFO) << "Got landmarks_num: " << landmarks_num;
#endif
face_landmarks.reserve(landmarks_num);
for (int i = 0; i < landmarks_num; ++i) {

View File

@ -28,7 +28,6 @@
class MPFaceMeshDetector {
public:
MPFaceMeshDetector();
~MPFaceMeshDetector() = default;
std::vector<std::vector<cv::Point2f>> *ProcessFrame2D(const cv::Mat &camera_frame);
private: