Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4016338
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:43:40+00:00 2026-05-20T09:43:40+00:00

I’m new to computer vision, and I want to detect specific and flat objects

  • 0

I’m new to computer vision, and I want to detect specific and flat objects in an image (or video frame).

What do I mean with specific and flat?

Flat

Well, flat objects are like objects, but, you know, flat… What it means to me:

  • Objects will always be viewed from approximately the same “frontal” angle, that is, the axis of the camera corresponds (more or less) with their surface normal. (But they may be rotated around that axis).
  • Objects for which the angle of illumination doesn’t change anything (i.e. it doesn’t have bumps and creases that cast shadows).

Specific

  • Ojects of which I know the exact appearance and shape. They are all exactly the same, there are no variations.
  • I have a (precise) photograph (or representation) of them.

Examples of such objects

  • The obverse of a $1 bill
  • The Mona Lisa
  • The front cover of the last issue of (your favorite magazine here)
  • …

I believe the problem is easy enough that I should be able to find a function of a computer vision library that basically works like that:

> findObjects("object.png", "image.png")
[object at x1, y1, rotated z1 degrees, size height1*width1,
 object at x2, y2, rotated z2 degrees, size height2*width2,
 ...]

In fact I don’t even really care about the sizes and locations of the objects, I just need a count.

But I can’t find anything like this.
All I can find are countless examples of face recognition with something called a Haar-classifier, which doesn’t seem appropriate for my problem at all, because:

  • Faces are not flat, and thus that classifier must cope with problems like different illuminations, shadows…
  • It must recognize faces, that is, objects that are similar, but not exactly identical.
  • It must recognize faces that it hasn’t been trained with just because they “look like” faces.
  • Proof that this is not suited: it must be trained with hundreds or thousands of positive and negative samples. In my problem, all the information needed is contained in a single sample. So that can’t be right.

So, does something like this exists?

I’d prefer to use OpenCV since this seems to be the standard computer-vision library, but I am open to any solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:43:41+00:00Added an answer on May 20, 2026 at 9:43 am

    One way to do that would be to use a keypoint matcher. Opencv has a demo doing kind-of what you want (find https://i.stack.imgur.com/FUCEm.jpg in https://i.stack.imgur.com/8Bz9F.jpg as a premade demo (in the opencv 2.2 distribution: samples/c/find_obj.cpp). The output is visualized in https://i.stack.imgur.com/SjcPl.jpg – you should be able to start from that to adapt it so it finds multiple instances of the image and counts them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I've got a string that has curly quotes in it. I'd like to replace
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm looking for suggestions for debugging... If you view this site in Firefox or
I have a jquery bug and I've been looking for hours now, I can't
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.