Fix bug in Objective C OpenCV based Sobel edge detector code 1
$75 USD
Paid on delivery
hi I have a openCV based Objective C project for video which works correctly by itself, where I am trying to calculate intensity gradient using Sobel operator using the stack overflow example ([login to view URL]) but it is giving me error. I need to calculate average gradient and resulting direction of image from phone. Can you please fix the error.
STACK OVERFLOW CODE
Mat img = imread("[login to view URL]", IMREAD_GRAYSCALE);
// compute the image derivatives for both the x and y direction
Mat dx, dy;
Sobel(img, dx, CV_32F, 1, 0);
Sobel(img, dy, CV_32F, 0, 1);
Scalar average_dx = mean(dx);
Scalar average_dy = mean(dy);
double average_gradient = atan2(-average_dy[0], average_dx[0]);
cout
Project ID: #18712491
About the project
7 freelancers are bidding on average $113 for this job
Yes i can solve this error, send me your opencv expert and i will expert right away...................................................................
i can do this for you i have an experience of 1.5-2 years in this field sir i did projects like this kindly reply i want to discuss it with you
i m not much opencv coder but if there s errors. it means there s some logical problems. and i m good with fixing logical code issues ............................. ......................... ......................... More