Skip to main content

CNN & YOLO+SAM Segmentation

YOLO Vision banner

SAM

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

  • GitHub LinkedIn Emilio Rodrigo Carreira Villalta

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. 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)

Source distribution for cnn-methods 1.2.0
File Size Uploaded
cnn_methods-1.2.0.tar.gz 12.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cnn-methods 1.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page