Surface Defect Detection script(unintelligent) to detect defects on the surface of a glove using python and OpenCV library
This script uses:
- python3
- OpenCV-python - OpenCV is a library of programming functions mainly aimed at real-time computer vision.
- numpy - NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
This script requires python3 v3+ to run.
Install the virtual environment(venv) and required libraries to run.
$ cd <directory>
$ pip install virtualenv
To activate venv...
$ cd venv/Scripts
$ activate
To install OpenCV...
$ pip install opencv-python
To install numpy...
$ pip install numpy
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Your contributions would help others!
- Fork the Project
- Create your Project Branch (
git checkout -b branch-name
) - Add your Changes (
git add .
) - Commit your Changes (
git commit -m 'Message'
) - Push to the Branch (
git push origin branch-name
) - Open a Pull Request
- You can play with the implementstion and improve it using any approach
- Make sure to follow good coding practices(meaningful variables, comments, etc.)
- Make sure to mention the changes in your commit message and pull requests
©️ Avishka Dambawinna #@zunu