andrewssobral / vehicle_detection_haarcascades

Vehicle Detection by Haar Cascades with OpenCV
538 stars 518 forks source link

XML Parse error #14

Open hayderma opened 6 years ago

hayderma commented 6 years ago

I am getting XML parse error, I am not sure what the compilation part is for, but I didn't do it. My project was setup for different cascade that I trained and worked fine, but this one gives me XML parse error :

When I open the file with Firefox browser:

XML Parsing Error: not well-formed
Location: file:///home/h/NetBeansProjects/cv/cars.xml
Line Number 43, Column 91:  <meta name="request-id" content="CF1C:6815:15606E1:28D6456:5B0A3FD0" data-pjax-transient>

OpenCV Error:

OpenCV Error: Unknown error code -49 (Input file is empty) in cvOpenFileStorage, file /home/h/opencv/OpenCV/opencv-3.3.0/modules/core/src/persistence.cpp, line 4484
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/h/opencv/OpenCV/opencv-3.3.0/modules/core/src/persistence.cpp:4484: error: (-49) Input file is empty in function cvOpenFileStorage

Can you give me your input please?

Thank you