defect-detection-opencv-python
defect-detection-opencv-python copied to clipboard
Surface Defect Detection script to detect defects on surface of a glove using python and OpenCV library
Defect-Detection-OpenCV(uninteligent)
Surface Defect Detection script(unintelligent) to detect defects on the surface of a glove using python and OpenCV library
Just playing with OpenCV
Tech
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.
Installation
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
Contributing
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
Special note
- 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
License
:copyright: Avishka Dambawinna #@zunu