Closed chris9672 closed 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
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.
Now I understand, I confused
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\';