Sunday, August 17, 2025

Example of Simple (Pretrain AI) Object Detection On Photo

I type the below in Grok.

Can you generate a python code to load the photo dog.jpg from my computer c drive, then circle the dog in the picture?


 
Figure1: Dog is detected and circled.

As above, the dog is detected and circled. Object detection is one of the applications of AI. 

Pretrain AI modal YOLO is used in this run. Yolo is built on deep learning and computer vision. YOLO perform detection in a single forward pass through a convolutional neural network (CNN). 

A convolutional neural network (CNN) is a type of feedforward neural network that learns features via filter (or kernel) optimization. This type of deep learning network has been applied to process and make predictions from many different types of data including text, images and audio.


References: 

1. https://en.wikipedia.org/wiki/Convolutional_neural_network

No comments:

Post a Comment