php-opencv
php-opencv copied to clipboard
Using with xampp on windows
How do i use it on windows with xampp server
Now You can not use php-opencv in windows..
am unable to download opencv on ubuntu, using the methods in phpopencv.org can you please help out?
Did you try this ? https://github.com/hihozhou/php-opencv#compile-and-install-php-opencv-extension
yea didn't work, what version of of ubuntu should i use to be specific
@spartyboy If you don't want to use docker and want to install it on your own system, you need to compile the new PHP and PHP-OpenCV extensions yourself. This is the php official website on the window support problem, because this project did not join pecl. You can refer to the following article, but it is only available in Chinese. https://hihozhou.com/blog/2018/11/17/window-compile-php-extensions.html
@spartyboy If you fail to install on ubuntu, please show your error message, I can help you.
ok
but what version of ubuntu would you recommend i use
@spartyboy My main development environment is now 18.04. Specific installation commands, you can refer to the docker script. OpenCV install: https://github.com/hihozhou/opencv-dockerfile/blob/master/build.sh PHPOpenCV extension install : https://github.com/hihozhou/php-opencv/blob/master/Dockerfile
It’s already a very specific command.
php mast be version 7.2
yes mine is 7.2.18
my problem now is i am gettin opencv not found error after installation
chek version. Need 4.0.1
how do i install it and from what directory followed the steps on php open cv but it never worked
OpenCV4 and previous versions use pkg-config detection method is different.
OpenCV4:
pkg-config --modversion opencv4
OpenCV4 previous versions:
pkg-config --modversion opencv
https://github.com/opencv/opencv/tree/bd1fd59fc11c07511aabba5ba46899f5220c8eef https://github.com/opencv/opencv_contrib/tree/f0e70cbfd58f4a67e43689e29b406fb4a559c84b you need install 2 tree and compare