<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Franklinmoses M on Medium]]></title>
        <description><![CDATA[Stories by Franklinmoses M on Medium]]></description>
        <link>https://medium.com/@franklinmoses?source=rss-8ca3e6a9c5ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3gq3kl3H2WIs-AdD</url>
            <title>Stories by Franklinmoses M on Medium</title>
            <link>https://medium.com/@franklinmoses?source=rss-8ca3e6a9c5ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 19:45:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@franklinmoses/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[License plate recognition (ANPR/LPR) with DeGirum PySDK on Hailo accelerators]]></title>
            <link>https://medium.com/degirum/license-plate-recognition-anpr-lpr-with-degirum-pysdk-on-hailo-accelerators-42b1e8ac057e?source=rss-8ca3e6a9c5ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/42b1e8ac057e</guid>
            <dc:creator><![CDATA[Franklinmoses M]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 21:42:48 GMT</pubDate>
            <atom:updated>2025-10-14T22:18:34.985Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhK-1wyuSd7U%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhK-1wyuSd7U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhK-1wyuSd7U%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/186270dc6c3b4845df1e973619566d85/href">https://medium.com/media/186270dc6c3b4845df1e973619566d85/href</a></iframe><p>Ever wondered how a parking gate lifts the moment you pull up, how a toll booth charges you without slowing down, or how traffic cameras catch a license plate in a split second?</p><p>Using <a href="https://www.linkedin.com/company/degirum/">DeGirum</a> PySDK with Hailo accelerators, you can build a complete License Plate Recognition (ANPR / LPR) pipeline that runs in real-time, chaining detection + OCR into one seamless workflow.</p><p>And here’s the best part: while this demo runs on Hailo, the same PySDK pipeline runs on NVIDIA, Intel, Google EdgeTPU, Rockchip, AMD, MemryX, BrainChip, Axelera AI, all with the <em>exact same code</em>, just by changing a single variable.</p><p>What makes this even more powerful is model pipelining: multiple models run in sequence, so the detector’s output feeds directly into the OCR model, giving you bounding boxes and recognized plate text in a single pass.</p><h3>What you’ll build</h3><ul><li>License plate detection → Finds plates in images or video</li><li>License plate OCR → Reads alphanumeric text from each plate</li><li>Combined results → Bounding boxes + recognized text overlayed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X7Y0H0T3cHOsYjlLHj6Jlw.png" /><figcaption>Example: License plate recognized as: DEGIRUM</figcaption></figure><h3>Getting started</h3><p>You’ll need:</p><ul><li><a href="https://docs.degirum.com/pysdk/installation?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">DeGirum PySDK</a></li><li><a href="https://docs.degirum.com/pysdk/runtimes-and-drivers/hailort?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">Hailo runtime &amp; driver</a></li><li><a href="https://docs.degirum.com/degirum-tools?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">DeGirum Tools</a></li></ul><p>Install degirum_tools with:</p><pre>pip install degirum-tools</pre><p>Not on hardware yet? No problem. With the <a href="https://hub.degirum.com/compiler/?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">AI Hub Cloud Compiler</a> you can prototype in the cloud on real accelerators right from your browser, then deploy locally with the same code. Follow the <a href="https://community.degirum.com/t/cloud-compiler-quickstart/212/4?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">Quickstart Guide</a> to try it out.</p><h3>Models used (Hailo zoo)</h3><ul><li>Detector: yolov8n_relu6_global_lp_det — 640x640_quant_hailort_multidevice_1</li><li>OCR: yolov8s_relu6_lp_ocr_7ch — 256x128_quant_hailort_multidevice_1</li></ul><p>Here’s all it takes in Python to get real-time license plate recognition running.</p><pre>import degirum as dg, degirum_tools<br>from degirum_tools import remote_assets<br><br>hw_location = &quot;@cloud&quot;<br>model_zoo_url = &quot;degirum/hailo&quot;<br>lp_det_model_name = &quot;yolov8n_relu6_global_lp_det--640x640_quant_hailort_multidevice_1&quot;<br>lp_ocr_model_name = &quot;yolov8s_relu6_lp_ocr_7ch--256x128_quant_hailort_multidevice_1&quot;<br><br># Load license plate detection and license plate OCR models<br>lp_det_model=dg.load_model(<br>    model_name=lp_det_model_name,<br>    inference_host_address=hw_location,<br>    zoo_url=model_zoo_url<br>)<br>lp_ocr_model=dg.load_model(<br>    model_name=lp_ocr_model_name,<br>    inference_host_address=hw_location,<br>    zoo_url=model_zoo_url<br>)<br><br># Create a compound cropping model with 50% crop extent<br>crop_model = degirum_tools.CroppingAndClassifyingCompoundModel(<br>    lp_det_model,<br>    lp_ocr_model<br>)<br><br>image_source = remote_assets.car<br>inference_result = crop_model(image_source)<br><br># Display combined results<br>with degirum_tools.Display(&quot;License Plates&quot;) as display:<br>    display.show_image(inference_result)</pre><h3>How it works</h3><ol><li>Model loading: The license plate detection and OCR models are loaded using dg.load_model. Each is configured for Hailo inference or cloud/AI server runs.</li><li>Pipeline creation: A compound model is created with degirum_tools.CroppingAndClassifyingCompoundModel. It automatically crops plate regions from the detector and passes them to the OCR model. You can adjust the crop_extent parameter to expand or shrink the cropped region based on your needs.</li><li>Inference execution: You can run inference on still images or video streams. With predict_stream, each frame is processed, plates are detected, cropped, and recognized in sequence. Running inference on video using predict_stream is explained in the following section.</li><li>Result display: View bounding boxes and recognized plate text overlayed in real time.</li></ol><h3>Streaming inference with predict_stream</h3><p>degirum-tools provides a high-level helper:</p><pre>inference_results = degirum_tools.predict_stream(crop_model, video_source)<br><br># Display inference results<br># Press &#39;x&#39; or &#39;q&#39; to stop<br>with degirum_tools.Display(&quot;Faces and Gender&quot;) as display:<br>    for inference_result in inference_results:<br>        display.show(inference_result)</pre><p>This helper continuously reads frames, runs inference, and overlays results, all in just a few lines of Python.</p><h3>Real-world applications</h3><ul><li>🚦 Traffic monitoring</li><li>🅿️ Smart parking systems</li><li>🛣️ Automated toll booths</li><li>🚚 Fleet management</li><li>🏢 Secure vehicle access control</li></ul><p>With DeGirum PySDK and Hailo accelerators, building practical, real-time AI systems becomes straightforward. And because PySDK is compatible with multiple hardware, developers can prototype in the cloud and deploy across diverse edge devices with minimal adjustments.</p><h3>Want to dive deeper?</h3><p>Want to try additional DeGirum + Hailo examples? Explore the <a href="https://github.com/DeGirum/hailo_examples/">hailo_examples GitHub repo</a>.</p><ul><li>📖 Explore the step-by-step <a href="https://docs.degirum.com/pysdk?utm_source=medium.com&amp;utm_medium=referral&amp;utm_campaign=anpr-lpr-hailo-pysdk">DeGirum PySDK Documentation</a> to learn how to set up the SDK, load models, and build your own computer vision workflows.</li><li>💻 Ready to experiment hands-on? <a href="https://colab.research.google.com/drive/1NtfdSHylh7SBk6h-Z1bRsk4nO0lrbDkF?usp=sharing">Open the following Google Colab Notebook</a> and try out the License Plate Recognition (ANPR/LPR) pipeline directly in your browser using cloud inference mode. no local setup needed.</li></ul><ul><li><a href="https://colab.research.google.com/drive/1NtfdSHylh7SBk6h-Z1bRsk4nO0lrbDkF?usp=sharing">Google Colab</a></li><li><a href="https://github.com/DeGirum/hailo_examples/blob/main/examples/026_license_plate_recognition_pipelined.ipynb">hailo_examples/examples/026_license_plate_recognition_pipelined.ipynb at main · DeGirum/hailo_examples</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42b1e8ac057e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/degirum/license-plate-recognition-anpr-lpr-with-degirum-pysdk-on-hailo-accelerators-42b1e8ac057e">License plate recognition (ANPR/LPR) with DeGirum PySDK on Hailo accelerators</a> was originally published in <a href="https://medium.com/degirum">DeGirum</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>