CNN & YOLO+SAM Segmentation
This project explores the application of advanced computer vision techniques for fruit classification and segmentation. A custom Convolutional Neural Network (CNN) was designed and implemented to classify different types of fruits, focusing on achieving high accuracy with an efficient architecture. The CNN was trained on a labeled dataset of fruit images, utilizing techniques such as data augmentation and optimization strategies to enhance performance and robustness.
Additionally, the project integrates a YOLO (You Only Look Once) model for real-time object detection and leverages the combination of YOLO and SAM (Segment Anything Model) for instance segmentation. This enables precise identification and segmentation of individual fruit instances, including segmentation with bounding boxes for more detailed analysis. The combination of custom and pre-trained models demonstrates versatility and effectiveness across multiple computer vision tasks.
Table of Contents
Requirements
- Python 3.X.X
- Linux / MacOS
Installation and Usage
For a detailed walkthrough of the steps to install and use the Python package and Jupyter notebooks, refer to the official library's documentation here: Official Documentation
Contributors
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature-branch) - Create a new Pull Request
Metadata
Release files for cnn-methods 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cnn_methods-1.2.0.tar.gz | 12.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cnn_methods-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 MB
Release files / cnn_methods-1.2.0.tar.gz
| Download URL | cnn_methods-1.2.0.tar.gz |
|---|---|
| Size | 12.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ead998e307a83567ca4d6b90d84c941192ba0d78e7c777d250858cb71513068d
|
|
BLAKE2b-256 checksum How to use checksums |
3bb5d2d4427cba6b674ab3dbd5319c1fb59ed6bcaf87694774def64c609079fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 20, 2024.
Transparency logRelease files / cnn_methods-1.2.0-py3-none-any.whl
| Download URL | cnn_methods-1.2.0-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20ae6f3dfc40a52e7e71b2fb74b9fcc3c61fb9720e458c540499940a6e11e87a
|
|
BLAKE2b-256 checksum How to use checksums |
359e585f1e0b210495c768e4fad6a1b093b1194b8a479fd562f8f01db1031769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 20, 2024.
Transparency log