https://github.com/lovaslin/defect_detection
API for defect detection in PCB and other components.
https://github.com/lovaslin/defect_detection
Last synced: 6 months ago
JSON representation
API for defect detection in PCB and other components.
- Host: GitHub
- URL: https://github.com/lovaslin/defect_detection
- Owner: lovaslin
- License: bsd-3-clause
- Created: 2024-04-02T04:14:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-23T01:07:02.000Z (over 1 year ago)
- Last Synced: 2025-06-19T09:38:18.662Z (6 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# defect_detection
[](https://pypi.org/project/defect_detection/)
[](https://github.com/lovaslin/defect_detection/actions)
This packge provides a basic API to implement defect detection algorithms.
These algorithms can be tune in order to automatically detect any defects in a PCB or other components.
## Requirement
The following package are required :
- numpy
- opencv-python
- torch
- scikit-learn
Recommended python version >= 3.8
## Installation
To install the latest stable release from PyPI :
```bash
pip install defect_detection
```
For developper who wants to work with a local and editable version :
```bash
git clone https://github.com/lovaslin/defect_detection.git
cd defect_detection
pip install -e .
```
For the local install, you should of course run the commands using a clean python environment.
I recommend to use `venv` to setup a pip-friendly environemnt.
## Usage