Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explanation #29

Open
BbenWeb1 opened this issue Mar 5, 2023 · 0 comments
Open

explanation #29

BbenWeb1 opened this issue Mar 5, 2023 · 0 comments

Comments

@BbenWeb1
Copy link

BbenWeb1 commented Mar 5, 2023

I tried the examples on Windows, but I befriended the problem of paths images and files, and corrected them by defining their full path, such as:
in the detect_face_by_cascade_classifier.php file
There is

line 8 :
$src = imread("images/faces.jpg");

put in place

$root = dirname(__FILE__).DIRECTORY_SEPARATOR;
$src = imread($root."images".DIRECTORY_SEPARATOR."faces.jpg");

this code run in all systeme
@morozovsk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant