php-opencv
opencv 4.5+ with dnn module for php 7/8
File Explorer
Download Latest Version (.zip)- ISSUE_TEMPLATE.md
- opencv_interface.cc
- opencv_interface.h
- opencv_base.cc
- opencv_base.h
- opencv_cvdef.cc
- opencv_cvdef.h
- opencv_mat.cc
- opencv_mat.h
- opencv_persistence.cc
- opencv_persistence.h
- opencv_type.cc
- opencv_type.h
- opencv_utility.cc
- opencv_utility.h
- opencv_dnn.cc
- opencv_dnn.h
- opencv_facemarkLBF.cc
- opencv_facemarkLBF.h
- opencv_facerec.cc
- opencv_facerec.h
- opencv_imgcodecs_c.cc
- opencv_core.cc
- opencv_core.h
- opencv_face.cc
- opencv_face.h
- opencv_highgui.cc
- opencv_highgui.h
- opencv_imgcodecs.cc
- opencv_imgcodecs.h
- opencv_imgproc.cc
- opencv_imgproc.h
- opencv_ml.cc
- opencv_ml.h
- opencv_objdetect.cc
- opencv_objdetect.h
- opencv_videoio.cc
- opencv_videoio.h
- 001.phpt
- absdiff.phpt
- add.phpt
- circle.phpt
- constant.phpt
- cv.phpt
- cv.png
- dnn.phpt
- ellipse.phpt
- ellipse.png
- face_recognizer.jpg
- facemark.phpt
- faceRecognizer.phpt
- faceRecognizerDecode.phpt
- get_structuring_element.phpt
- magnitude.phpt
- mat.phpt
- Obama.png
- Obama_gray.png
- opencv_exception.phpt
- roi.phpt
- split.phpt
- type.phpt
- videoCapture.phpt
- compile.sh
- .gitignore
- .travis.yml
- config.m4
- config.w32
- CREDITS
- Dockerfile
- EXPERIMENTAL
- LICENSE
- opencv.cc
- opencv.php
- opencv_exception.cc
- opencv_exception.h
- php_opencv.h
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/php-opencv/php-opencv
Downloads the entire project code from GitHub to your computer.
cd php-opencv
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t php-opencv .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 php-opencv
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
