Skip to content

Surface Defect Detection script to detect defects on surface of a glove using python and OpenCV library

Notifications You must be signed in to change notification settings

avishkakavindu/defect-detection-opencv-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

  1. Fork the Project
  2. Create your Project Branch ( git checkout -b branch-name )
  3. Add your Changes ( git add . )
  4. Commit your Changes ( git commit -m 'Message' )
  5. Push to the Branch ( git push origin branch-name )
  6. 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

©️ Avishka Dambawinna #@zunu

About

Surface Defect Detection script to detect defects on surface of a glove using python and OpenCV library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages