# 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](https://github.com/erfanzar/PJYoloVision/blob/main/LICENSE.md) licenced, but it's recommended to
use [ultralytics](https://github.com/ultralytics/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
```python
## 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
```python
## 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
```python
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`
```python
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/erfanzar/PJYoloVision",
"name": "PJYoloVision",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "machine learning,deep learning,pytorch",
"author": "Erfan Zare Chavoshi",
"author_email": "erfanzare82@eyahoo.com",
"download_url": "",
"platform": null,
"description": "# PJYoloVision: Object Detection and Instance Segmentation AI project\n\n## Note\n\nNext version will include models in jax/flax\n\nPJYoloVision is an AI project that includes state-of-the-art object detection and instance segmentation models. The models\nare part of the YOLO (You Only Look Once) family, which is a group of models that use deep learning to perform real-time\nobject detection, classification, and localization.\n\n## Object Detection Models\n\nThe object detection models in PJYoloVision can detect and locate objects in real-time images and video streams. These\nmodels can be trained to detect specific types of objects, such as cars, people, animals, or any other object of\ninterest. The YOLO models are known for being fast and accurate, making them a good choice for real-time applications.\n\n## Instance Segmentation Models\n\nThe instance segmentation models in PJYoloVision can detect and locate individual objects within an image or video frame.\nUnlike object detection models, instance segmentation models also provide a mask for each object, which can be used to\nseparate them from the background. This makes them ideal for applications like medical imaging, where precise\nsegmentation is essential.\n\n## YOLO Family\n\nThe YOLO family includes several models, each with their own strengths and weaknesses. YOLOv1 was the first model in the\nfamily, and it introduced the concept of object detection using a single neural network. YOLOv2 improved upon the\noriginal model by incorporating a more powerful backbone network and making it easier to train. YOLOv3 further improved\non the model by incorporating new techniques such as feature pyramid networks and improved training strategies.\n\n## Customizable Models\n\nWith PJYoloVision, users can create their own custom models by modifying the configuration files and training them with\ntheir own datasets. This allows users to build models tailored to their specific needs and applications.\n\n## Special Models\n\nIn addition to the standard object detection and instance segmentation models, PJYoloVision also includes models for other\ntypes of computer vision tasks. For example, there is a model for determining the age and gender of people in images, as\nwell as a model for detecting emotions.\n\n## Overall\n\nPJYoloVision is a powerful AI project that provides a variety of high-quality models for object detection and\ninstance segmentation tasks. The models are part of the YOLO family, which is known for being fast and accurate, and\nthey can be easily customized to meet the needs of specific applications.\n\n# Note\n\nA Part of the idea and source code is from YOLO v8 ultralytics and PJYoloVision is an edited version of YOLO v8\n(a weak version for education and self learning) and CLI is not perfect (it's not working) if you want to use this\nproject you are free\nthis project is [GPL-3.0 license](https://github.com/erfanzar/PJYoloVision/blob/main/LICENSE.md) licenced, but it's recommended to\nuse [ultralytics](https://github.com/ultralytics/ultralytics) for more stability\n\n## Usage Note\n\nPJYoloVision currently share same api as ultralytics YOLOv8 so you can predict use and train model via same api as\nultralytics\n\n### Example\n\n```python\n## Use normal detection model \nfrom PJYoloVision import YOLO\n\n# to build model from yaml file just pass yaml file (same as ultralytics)\nmodel = YOLO('MODEL.pt')\nimage = 'your image (path , url , numpy array ...)'\npredicts = model.predict(image, save=True)\n\n```\n\nSegmentation\n\n```python\n## Use Segmentation model \nfrom PJYoloVision import YOLO, prepare_segmentation\n\n# to build model from yaml file just pass yaml file (same as ultralytics)\nmodel = prepare_segmentation(YOLO('MODEL-Segmentation.pt'))\nimage = 'your image (path , url , numpy array ...)'\npredicts = model.predict(image, save=True)\n\n```\n\nIf you want to use segmentation models you have to set the task manually for v 0.0.1 models\n\n```python\nfrom PJYoloVision import YOLO, prepare_segmentation\n\nmodel = prepare_segmentation(YOLO('PJPJYoloVision-Segmentaion-M.pt'))\n## Ready to Use \n```\n\nfor more setting and access to the model you can use `set_new_setting`\n\n```python\n\nfrom PJYoloVision import YOLO, set_new_setting\n\n# to build model from yaml file just pass yaml file (same as ultralytics)\nmodel_args = dict(amp=False)\nmodel = set_new_setting(YOLO('MODEL.pt'), **model_args)\nimage = 'your image (path , url , numpy array ...)'\npredicts = model.predict(image, save=True)\n\n```\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "The object detection models in PJYoloVision can detect and locate objects in real-time images and video streams.",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/erfanzar/PJYoloVision"
},
"split_keywords": [
"machine learning",
"deep learning",
"pytorch"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d25c19bcde2b79851161af43f724b5de14638ed7f16eacf9ef7f390c34d1b76d",
"md5": "3112d8f906f2b5381c5ccda43a68b1f5",
"sha256": "798b28e02b3864791fe007fcefcb0af12f58642418567d7734327d1d61728843"
},
"downloads": -1,
"filename": "PJYoloVision-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3112d8f906f2b5381c5ccda43a68b1f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 207740,
"upload_time": "2023-07-03T13:37:09",
"upload_time_iso_8601": "2023-07-03T13:37:09.203573Z",
"url": "https://files.pythonhosted.org/packages/d2/5c/19bcde2b79851161af43f724b5de14638ed7f16eacf9ef7f390c34d1b76d/PJYoloVision-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-03 13:37:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "erfanzar",
"github_project": "PJYoloVision",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "erutils",
"specs": []
},
{
"name": "thop",
"specs": []
}
],
"lcname": "pjyolovision"
}