Find Jobs
Hire Freelancers

fix an error compiling .cpp file

$10-30 CAD

Σε Εξέλιξη
Αναρτήθηκε περίπου 9 χρόνια πριν

$10-30 CAD

Πληρωμή κατά την παράδοση
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
Ταυτότητα εργασίας: 7318369

Σχετικά με την εργασία

2 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 9 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
2 freelancers δίνουν μια μέση προσφορά $28 CAD για αυτή τη δουλειά
Avatar Χρήστη
Could you please send the source to me?
$30 CAD σε 2 ημέρες
4,8 (22 αξιολογήσεις)
3,9
3,9
Avatar Χρήστη
A proposal has not yet been provided
$25 CAD σε 1 ημέρα
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της ANGUILLA
Ajax, Anguilla
5,0
65
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Μαΐ 30, 2011

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.