Find Jobs
Hire Freelancers

fix an error compiling .cpp file

$10-30 CAD

Folyamatban
Kiadva ekkor: körülbelül 9 évvel ezelőtt

$10-30 CAD

Teljesítéskor fizetve
I have a code that compiles perfectly on one linux machine and spits this errors in every other machine [100%] Building CXX object CMakeFiles/[login to view URL] /home/toto/Downloads/[login to view URL]: In function ‘void obj_search(cv::Mat, cv::Mat&)’: /home/toto/Downloads/[login to view URL]:79: error: ‘findContours’ was not declared in this scope findContours(temp,contours,hierarchy,CV_RETR_EXTERNAL,CV_CHAIN_APPROX_SIMPLE );// retrieves external contours ^ /home/toto/Downloads/[login to view URL]:44: error: ‘boundingRect’ was not declared in this scope Obj_rect = boundingRect([login to view URL](0));//rectangle around the largest contour ^ /home/toto/Downloads/[login to view URL]:49: error: ‘circle’ was not declared in this scope circle(cam_feed,Point(x,y),20,Scalar(0,255,0),2); ^ /home/toto/Downloads/[login to view URL]:58: error: ‘line’ was not declared in this scope line(cam_feed,Point(x,y),Point(x,y-25),Scalar(0,255,0),2); ^ /home/toto/Downloads/[login to view URL]:106: error: ‘putText’ was not declared in this scope putText(cam_feed,"Tracking object at (" + int2str(x)+","+int2str(y)+")",Point(x,y),1,1,Scalar(255,0,0),2); ^ /home/toto/Downloads/[login to view URL]: In function ‘int main(int, char**)’: /home/toto/Downloads/[login to view URL]:2: error: ‘VideoCapture’ was not declared in this scope VideoCapture capture; ^ /home/toto/Downloads/[login to view URL]:15: error: expected ‘;’ before ‘capture’ VideoCapture capture; ^ /home/toto/Downloads/[login to view URL]:3: error: ‘capture’ was not declared in this scope [login to view URL](video_file); ^ /home/toto/Downloads/[login to view URL]:31: error: ‘COLOR_BGR2GRAY’ was not declared in this scope cvtColor(frame1,grayImage1,COLOR_BGR2GRAY); ^ /home/toto/Downloads/[login to view URL]:45: error: ‘cvtColor’ was not declared in this scope cvtColor(frame1,grayImage1,COLOR_BGR2GRAY); ^ /home/toto/Downloads/[login to view URL]:54: error: ‘THRESH_BINARY’ was not declared in this scope threshold(differenceImage,thresh_Img,Senseval,255,THRESH_BINARY); ^ /home/toto/Downloads/[login to view URL]:67: error: ‘threshold’ was not declared in this scope threshold(differenceImage,thresh_Img,Senseval,255,THRESH_BINARY); ^ /home/toto/Downloads/[login to view URL]:46: error: ‘imshow’ was not declared in this scope imshow("Difference Image",differenceImage); ^ /home/toto/Downloads/[login to view URL]:37: error: ‘destroyWindow’ was not declared in this scope destroyWindow("Difference Image"); ^ /home/toto/Downloads/[login to view URL]:52: error: ‘blur’ was not declared in this scope blur(thresh_Img,thresh_Img,Size(Blursiz,Blursiz)); ^ /home/toto/Downloads/[login to view URL]:46: error: ‘imshow’ was not declared in this scope imshow("Final Threshold Image",thresh_Img); ^ /home/toto/Downloads/[login to view URL]:42: error: ‘destroyWindow’ was not declared in this scope destroyWindow("Final Threshold Image"); ^ /home/toto/Downloads/[login to view URL]:26: error: ‘imshow’ was not declared in this scope imshow("Frame1",frame1); ^ /home/toto/Downloads/[login to view URL]:21: error: ‘waitKey’ was not declared in this scope switch(waitKey(10)) ^ Please bid if you are an expert ONLY
Projektazonosító: 7318369

A projektről

2 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
2 szabadúszó adott átlagosan $28 CAD összegű árajánlatot erre a munkára
Felhasználó avatár
Could you please send the source to me?
$30 CAD 2 napon belül
4,8 (22 értékelés)
3,9
3,9
Felhasználó avatár
A proposal has not yet been provided
$25 CAD 1 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

ANGUILLA zászlója
Ajax, Anguilla
5,0
65
Fizetési mód hitelesítve
Tagság kezdete: máj. 30, 2011

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.