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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:04:16+00:00 2026-06-13T12:04:16+00:00

In my number plate recognition application(UK number plates) I have done a rectangle detection

  • 0

In my number plate recognition application(UK number plates) I have done a rectangle detection and I am using several criterion such as width/length ratio of the number plate as well as a minimum width and length of a number plate. I have managed to reduce the non-number plate areas significantly. My last criterion would be to get the number of connected components for each candidate region so that I can verify the true number plate region of the vehicle image which I read this on a research paper.

I am using C# and Aforge.Net library. But how can I use ConnectedComponentsLabeling to obtain the number of connected Components in the number plate?

  • 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-13T12:04:17+00:00Added an answer on June 13, 2026 at 12:04 pm

    I’m doing this:

    FiltersSequence preOcr = new FiltersSequence(
        Grayscale.CommonAlgorithms.BT709, 
        new BradleyLocalThresholding());
    
    Bitmap grayscale = preOcr.Apply(original);
    var labels = new ConnectedComponentsLabeling();
    labels.Apply(new Invert().Apply(grayscale));
    
    //Console.WriteLine(labels.ObjectCount);    // Here you go
    foreach (var candidate in labels.BlobCounter.GetObjectsInformation())
    {
        using (Bitmap symbol = new Bitmap(candidate.Rectangle.Width, 
                                          candidate.Rectangle.Height))
        using (Graphics g2 = Graphics.FromImage(symbol))
        {
            g2.DrawImage(grayscale, 0, 0, candidate.Rectangle, GraphicsUnit.Pixel);
            symbol.Save(String.Format(@"temp\{0}-{1}.jpg",i,++n), ImageFormat.Jpeg);
            // do stuff
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an automatic number plate recognition application. I have managed to locate
Im doing a numberplate extraction where i have managed to erode the number plate
I have a table call lp_upload and it contain plate number of car and
A number of times I've argued that using clone() isn't such a bad practice.
I am developing an anpr application and I have managed to locate the number
I am developing an automatic number plate verification system. I have managed to locate
There is a large number of magnetic plates on every door. Every plate has
On this page: http://www.blackdownluxurylettings.co.uk/place_booking/2010-3-18,2 I am using an onchange event on the number of
If the user provides a number, such as 8, how exactly would I place
Pandigital number is a number that contains the digits 1..number length. For example 123,

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.