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 8555501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:08:11+00:00 2026-06-11T15:08:11+00:00

What I want to do is take a source image which will contain a

  • 0

What I want to do is take a source image which will contain a black-and-white chequered board of a known physical size and a known number of squares, and identify the boundaries of said board, as well as the angle from which it is being observed (assuming its perfectly flat) and from what distance.

If I can reliably identify the 4 corners of the board then I know how to calculate the angle and distance, so the task is more about identifying the chess board.

What I’ve tried so far is greyscaling the image and increasing the contrast so I end up with a stark black-and-white image (which to the eye contains blackness with just the white squares) – and while I can identify the boundaries of the board fine from a top-down perspective by measuring the frequency of changes from black->white->black, I’m not sure how to go about doing this for any angle.

Nominally I’m doing this with C#, but as far as actual answers go I’m happy for any code examples with a c-like syntax – more interested in the math and methodology for this one though.

  • 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-06-11T15:08:13+00:00Added an answer on June 11, 2026 at 3:08 pm

    Finding a general 2d object inside a 3d world is often done with SIFT or SURF.

    There are 2 steps:

    • find a manageable number of local features in the image (such as strong corners)
    • find a correlation between those points in your image and your search pattern

    OpenCV has an implementation for that:
    Features2D + Homography to find a known object
    The Wikipedia article on surf also points out another c# implementation.
    Also see this Stackoverflow answer:


    Now this is a pretty general method, and I do not know how well it will work with your checkerboard.

    But there are specific approaches for chessboard patterns: such as the openCV function cvFindChessboardCorners (tutorial)

    I never used it, but I found this description of the algorithm: (Source is in the file cvcalibinit.cpp )

    • Image binarization by thresholding to segment black and white squares
    • Find corners of the black squares:
      • Find contours of the boundaries of the black regions
      • Select contours of suitable shape
      • Approximate these contours with 4-vertex polygons
    • Among these select the quadrangles resembling calibration pattern squares
    • Extract corners of the selected quads, having at least one corner in vicinity
    • Group the corners of the selected quadrangles in lines according to calibration object size
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to know if there are any jquery components which automatically take care
In my project i want to take image from my iPhone camera and upload
I have a timer and on every tick I want to take an image
I want to change the source of an image and show a Loading... image
I want to take a math expression that takes variables and print (assign to
I want to take backup or restore of my oracle database through .Net code.
I want to take advantage of DateTimePicker 's date validation, but the calendar seemed
I want to take an expression in tcl and convert its _ to <
I want to take HTML form data and handle the submited data(string for example)
I want to take the values if the variable I define are not equal

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.