Python Forum
OpenCV and programming with images
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenCV and programming with images
#1
Is it possible with OpenCV to read an image, a template(e.g an object in the foreground of the image) and have your program run code if the template is detected in your image?

What I am trying to do is create a program that reads the image and throws out information about the characters in the foreground to the user. I can find plenty of information about detecting objects and their characteristics, but nothing on "if an object is present and has this characteristic: do this".

If this isn't possible in OpenCV, are there other modules that are capable?
Reply
#2
"if an object is present and has this characteristic: do this"

I think you have just answered your own question in pseudocode. If you found information on how to detect a presence of an object and finding some characteristic about it, you can also check for presence of both with an IF statement.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Handling large images with OpenCV. Apenz1 0 1,621 Jan-16-2021, 05:12 PM
Last Post: Apenz1

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020