Skip to content

Commit

Permalink
Change threthold of line detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaAk committed Jan 15, 2024
1 parent 6ce932b commit 8eedd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/camera_line_follower_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ bool Camera_Follower::detecting_line(const cv::Mat & input_frame, cv::Mat & resu
cv::Mat gray;
cv::cvtColor(input_frame, gray, cv::COLOR_BGR2GRAY);
cv::Mat extracted_bin;
cv::inRange(gray, 0, 50, extracted_bin);
cv::inRange(gray, 0, 100, extracted_bin);
input_frame.copyTo(result_frame, extracted_bin);

// Remove noise with morphology transformation
Expand Down

0 comments on commit 8eedd49

Please sign in to comment.