Skip to content

Commit

Permalink
0.20230125: openCV4
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Jan 25, 2023
1 parent 1a7d6f3 commit eb3169d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aithreshold.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int main(int argc, char *argv[])

if (src.channels() == 3)
{
cv::cvtColor(src, gray, CV_BGR2GRAY);
cv::cvtColor(src, gray, cv::COLOR_BGR2GRAY);
}
else
{
Expand Down

0 comments on commit eb3169d

Please sign in to comment.