Skip to content
Wednesday, December 2, 2026Ideas worth exploring. Knowledge worth sharing.
S. SenseCentralDISCOVER EVERY DAY
HomeAdvancedArticle
Advanced

Object detection for self-driving cars – Part 5

Object Detection on Sample Test Image

We will use the trained model to predict the respective classes and the corresponding bounding boxes on a sample of images. The function ‘draw’ runs a tensorflow session and calculates the confidence scores, bounding box coordinates and the output class probabilities for the given sample image. Finally, it computes the xmin, xmax, ymin, ymax from bx,by,bw,bh, scales the bounding boxes according to the input sample image and draws the bounding boxes and class probability for the objects in the input sample image.

Fig. 7, shows the class probabilities and bounding boxes on the test images.

https://s3-ap-southeast-1.amazonaws.com/he-public-data/Test%20Image%20Output15a821b.webp

Fig 7. Sample images with the predicted classes and bounding boxes

Author

  • Rajil TL

    Rajil TL is a SenseCentral contributor focused on tech, apps, tools, and product-building insights. He writes practical content for creators, founders, and learners—covering workflows, software strategies, and real-world implementation tips. His style is direct, structured, and action-oriented, often turning complex ideas into step-by-step guidance. He’s passionate about building useful digital products and sharing what works.

WRITTEN BY

Rajil TL

<p data-start="2434" data-end="2888">Rajil TL is a SenseCentral contributor focused on tech, apps, tools, and product-building insights. He writes practical content for creators, founders, and learners—covering workflows, software strategies, and real-world implementation tips. His style is direct, structured, and action-oriented, often turning complex ideas into step-by-step guidance. He’s passionate about building useful digital products and sharing what works.</p>

More from this author ↗

Leave a Reply

Your email address will not be published. Required fields are marked *