Skip to main content

The object detection models in PJYoloVision can detect and locate objects in real-time images and video streams.

Project description

PJYoloVision: Object Detection and Instance Segmentation AI project

Note

Next version will include models in jax/flax

PJYoloVision is an AI project that includes state-of-the-art object detection and instance segmentation models. The models are part of the YOLO (You Only Look Once) family, which is a group of models that use deep learning to perform real-time object detection, classification, and localization.

Object Detection Models

The object detection models in PJYoloVision can detect and locate objects in real-time images and video streams. These models can be trained to detect specific types of objects, such as cars, people, animals, or any other object of interest. The YOLO models are known for being fast and accurate, making them a good choice for real-time applications.

Instance Segmentation Models

The instance segmentation models in PJYoloVision can detect and locate individual objects within an image or video frame. Unlike object detection models, instance segmentation models also provide a mask for each object, which can be used to separate them from the background. This makes them ideal for applications like medical imaging, where precise segmentation is essential.

YOLO Family

The YOLO family includes several models, each with their own strengths and weaknesses. YOLOv1 was the first model in the family, and it introduced the concept of object detection using a single neural network. YOLOv2 improved upon the original model by incorporating a more powerful backbone network and making it easier to train. YOLOv3 further improved on the model by incorporating new techniques such as feature pyramid networks and improved training strategies.

Customizable Models

With PJYoloVision, users can create their own custom models by modifying the configuration files and training them with their own datasets. This allows users to build models tailored to their specific needs and applications.

Special Models

In addition to the standard object detection and instance segmentation models, PJYoloVision also includes models for other types of computer vision tasks. For example, there is a model for determining the age and gender of people in images, as well as a model for detecting emotions.

Overall

PJYoloVision is a powerful AI project that provides a variety of high-quality models for object detection and instance segmentation tasks. The models are part of the YOLO family, which is known for being fast and accurate, and they can be easily customized to meet the needs of specific applications.

Note

A Part of the idea and source code is from YOLO v8 ultralytics and PJYoloVision is an edited version of YOLO v8 (a weak version for education and self learning) and CLI is not perfect (it's not working) if you want to use this project you are free this project is GPL-3.0 license licenced, but it's recommended to use ultralytics for more stability

Usage Note

PJYoloVision currently share same api as ultralytics YOLOv8 so you can predict use and train model via same api as ultralytics

Example

## Use normal detection model 
from PJYoloVision import YOLO

# to build model from yaml file just pass yaml file (same as ultralytics)
model = YOLO('MODEL.pt')
image = 'your image (path , url , numpy array ...)'
predicts = model.predict(image, save=True)

Segmentation

## Use Segmentation model 
from PJYoloVision import YOLO, prepare_segmentation

# to build model from yaml file just pass yaml file (same as ultralytics)
model = prepare_segmentation(YOLO('MODEL-Segmentation.pt'))
image = 'your image (path , url , numpy array ...)'
predicts = model.predict(image, save=True)

If you want to use segmentation models you have to set the task manually for v 0.0.1 models

from PJYoloVision import YOLO, prepare_segmentation

model = prepare_segmentation(YOLO('PJPJYoloVision-Segmentaion-M.pt'))
## Ready to Use 

for more setting and access to the model you can use set_new_setting

from PJYoloVision import YOLO, set_new_setting

# to build model from yaml file just pass yaml file (same as ultralytics)
model_args = dict(amp=False)
model = set_new_setting(YOLO('MODEL.pt'), **model_args)
image = 'your image (path , url , numpy array ...)'
predicts = model.predict(image, save=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

PJYoloVision-0.0.6-py3-none-any.whl (207.7 kB view details)

Uploaded Python 3

File details

Details for the file PJYoloVision-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: PJYoloVision-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 207.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.16 CPython/3.10.6

File hashes

Hashes for PJYoloVision-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 798b28e02b3864791fe007fcefcb0af12f58642418567d7734327d1d61728843
MD5 3112d8f906f2b5381c5ccda43a68b1f5
BLAKE2b-256 d25c19bcde2b79851161af43f724b5de14638ed7f16eacf9ef7f390c34d1b76d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page