Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic number plate recognition notebook #32

Merged
merged 5 commits into from
Jan 22, 2025
Merged

Add automatic number plate recognition notebook #32

merged 5 commits into from
Jan 22, 2025

Conversation

RizwanMunawar
Copy link
Member

@RizwanMunawar RizwanMunawar commented Jan 22, 2025

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Added a new notebook for Automatic Number Plate Recognition (ANPR) using Ultralytics YOLO and OpenAI GPT-4o-mini, enabling number plate detection and text recognition.

📊 Key Changes

  • Added a new ANPR example notebook for detecting vehicle license plates and recognizing their characters.
  • Introduced combination usage of Ultralytics YOLO for object detection and OpenAI GPT-4o-mini for text recognition on number plate regions.
  • Included code to process videos, detect number plates, and extract text in real-time using computer vision and AI models.
  • Added setup instructions, pretrained demo files (anpr-demo-video.mp4 and anpr-demo-model.pt), and OpenAI API integration.

🎯 Purpose & Impact

  • Purpose: Demonstrates how to use YOLOv8 with GPT models for real-world applications like traffic monitoring, parking systems, and automated security systems.
  • Impact:
    • Simplifies license plate recognition workflows. 🚗
    • Provides a ready-to-use, beginner-friendly resource showcasing the integration of hardware-accelerated object detection with advanced AI text recognition.
    • Enables users to explore and adapt ANPR models for various use cases.

Add how-to-use-ultralytics-yolo-with-openai-for-number-plate-recognition.ipynb

Signed-off-by: Muhammad Rizwan Munawar <[email protected]>
Signed-off-by: Muhammad Rizwan Munawar <[email protected]>
@UltralyticsAssistant UltralyticsAssistant added detect Object Detection issues, PR's documentation Improvements or additions to documentation enhancement New feature or request labels Jan 22, 2025
@UltralyticsAssistant
Copy link
Member

👋 Hello @RizwanMunawar, thank you for proposing this amazing addition to the ultralytics/notebooks repository! 🚀 Your PR introducing Automatic Number Plate Recognition (ANPR) with Ultralytics YOLO and OpenAI GPT is a very exciting contribution. To ensure the seamless integration of your valuable work, please consider the following points below:

  • Purpose and Context: You've clearly outlined the purpose and context of the notebook and its potential real-world applications 🚗. Ensure your commit messages are clear and provide a succinct summary of their changes.
  • Synchronize with Source: Double-check that your PR is fully synchronized with the main branch of the ultralytics/notebooks repository. If your branch is behind, update it by using the 'Update branch' button or running git pull and merging it locally.
  • Continuous Integration (CI): Confirm that all Continuous Integration (CI) checks are passing. If any checks fail, kindly address the issues.
  • Documentation and README: Great improvement to the documentation! Ensure that all examples and instructions provided in the notebook are clear and easy to reproduce for users.
  • Testing: Please confirm that the added notebook has been tested end-to-end. If possible, you might also consider including additional functions or lightweight test scripts to validate the ANPR pipeline in code submissions.
  • Contributor License Agreement (CLA): If this is your first contribution, don’t forget to sign the Contributor License Agreement (CLA). Add "I have read the CLA Document and I sign the CLA" as a comment here to complete this step.
  • Open Feedback: Ensure you're actively addressing comments and feedback received from maintainers or the community as your PR is reviewed.

We’re thrilled about this contribution—it showcases Ultralytics YOLO's flexibility and potential to integrate with other AI models for diverse applications like ANPR. 🛠️

Finally, keep in mind that this is an automated response to assist you in preparing your pull request for merging. An Ultralytics engineer will review your PR and provide further feedback or approval soon. Feel free to reply with any questions or updates you may have in the meantime.

For any further reference, please review our Contributing Guide. Thank you for being an awesome part of the Ultralytics community! 🚀

Copy link
Member

@ambitious-octopus ambitious-octopus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good!

@RizwanMunawar RizwanMunawar merged commit 69350de into main Jan 22, 2025
2 checks passed
@RizwanMunawar RizwanMunawar deleted the anpr branch January 22, 2025 13:19
@UltralyticsAssistant
Copy link
Member

🎉 Great news! Your PR has been merged, @RizwanMunawar and @ambitious-octopus! 🚀

Your incredible ANPR notebook showcases the brilliance of combining YOLO and GPT models to make real-world AI magic happen. From traffic monitoring to security systems, your contributions pave the way for smarter, more connected solutions. 🌐✨

As Leonardo da Vinci once said, "Simplicity is the ultimate sophistication." Your work brings elegant simplicity to complex processes, empowering users to unlock new possibilities.

Thank you for your passion and innovation—this is just the beginning of impactful change! 🙌

@RizwanMunawar RizwanMunawar removed their assignment Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detect Object Detection issues, PR's documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants