Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Simple image recognition program in python

Last updated on 7 months ago
C
caaSuper Admin
Posted 7 months ago
Simple image recognition program in python

This program uses the OpenCV library to perform face detection on an image. It loads a pre-trained classifier for face detection, then reads an image file named 'image.jpg'. It converts the image to grayscale since face detection works better on grayscale images. Then, it detects faces in the image using the detectMultiScale function, which returns the coordinates of the bounding boxes around the detected faces. Finally, it draws rectangles around the detected faces and displays the result.

download code from

https://computeraidedautomation.com/infusions/downloads/downloads.php?cat_id=1&download_id=5



rename it to .py for python program
Edited by caa on 18-05-2024 12:54, 7 months ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 2
Members Online 0

Total Members: 11
Newest Member: Jhilam