Laex / Delphi-OpenCV-Class

Experimental Delphi binding for OpenCV 4.XX
Apache License 2.0
82 stars 25 forks source link

Missing folders "data" in Samples #13

Closed chris9672 closed 2 years ago

chris9672 commented 2 years ago

The constants OpenCVRootPath and OpenCVHaar in in cv.resource.pas each refer to folders that do not exist. OpenCVData = OpenCVRootPath + 'sources\samples\data\'; OprnCVHaar = OpenCVRootPath + 'sources\data\haarcascades\';

Laex commented 2 years ago

From readme.md To run demo examples Change path OpenCVRootPath in module CVResource.pas to path to unpacked OpenCV <opencv>. This is only needed to run examples from samples. https://github.com/Laex/Delphi-OpenCV-Class#to-run-demo-examples

chris9672 commented 2 years ago

I've read the readme.md, but for the samples to work, the OpenCVData in cv.resource.pas needs to be adjusted to point to "sources\samples\data\". Unfortunately there is no folder named "data" anywhere, neither in "sources\samples" nor anywhere else. The "sources" folder doesn't even exist. There is only "source", but there is neither "samlpes" nor "data" in it either. Also in the folder "samples" there is no folder "data". So the samples can't work.

Laex commented 2 years ago

https://sourceforge.net/projects/opencvlibrary/files/4.5.5/opencv-4.5.5-vc14_vc15.exe/download изображение

chris9672 commented 2 years ago

Now I understand, I confused with the directory for "Delphi-OpenCV-Class". Thy for you great work