Skip to main content

wheresmycar

First attempt at utilizing YOLOv8 model for vehicle number plate detection.

[!NOTE] This project is for education and skills presentation purposes.

Motivation

Gain practical knowledge with machine learning technologies in real-world example.

The main goal was to gain hands-on experience in machine learning project utilizing PyTorch library and several technologies to improve software engineering skills.

About the project

Small Python package providing a class for object detection, utilizing YOLOv8 model which was trained to detect number plates on vehicles.

Documentation

plate_detector

plate_detector module

PlateDetector Objects

class PlateDetector()

Class for Vehicle Number Plate Detection based on pretrained YOLOv8 model.

load_model

def load_model(device: str) -> YOLO

Function to load pretrained model. params:

  • device : device on which the model should run returns:
  • <ultralytics.YOLO>: pretrained YOLOv8 model

model

@property
def model() -> YOLO

Access pretrained model returns:

  • <ultralytics.YOLO>: pretrained YOLOv8 model

get_device

def get_device(enable_cuda: bool) -> str

Gets target device for inference. params:

  • enable_cude : if True, will return cuda if available returns:
  • either cuda or cpu

detect

def detect(target_path: str, conf: float = 0.5, **kwargs) -> Results

Get predictions on given input. params:

  • target_path : path to directory with images or image's file path
  • conf : minimum confidence threshold for detection returns:
  • <ultralytics.engine.results.Results>: inference results

Release files for wheresmycar 0.0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wheresmycar 0.0.2.5
File Size Uploaded
wheresmycar-0.0.2.5.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wheresmycar 0.0.2.5
File Interpreter ABI Platform
wheresmycar-0.0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / wheresmycar-0.0.2.5.tar.gz

Download URL wheresmycar-0.0.2.5.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e1042fec1a66d3a0429c4f5e4516180bb2e61441a4b332cef915e81b4022eb83
BLAKE2b-256 checksum
How to use checksums
f1f773c3687384608ae01ee41de62027e04da6056e1871c066caeb43557e97c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / wheresmycar-0.0.2.5-py3-none-any.whl

Download URL wheresmycar-0.0.2.5-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d594c96c33ce7acd47f58ba018b9143dfe857d00d09c5bf7088780b2fa1a8dd
BLAKE2b-256 checksum
How to use checksums
d568d215cd32b16a242a84be27c8c5ac11f0e58909cafd876521f688e0e265cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.0.2.5 This release

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