ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Automatic Number Plate Recognation (ANPR)
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ali

Iran
110 Posts

Posted - Jan 18 2020 :  08:11:04  Show Profile  Reply
Hi Nigel

If you make a sample for Automatic Number Plate Recognation (ANPR and change to text.
It is very useful for many software for example Parking,...
I tested GetRussianPlate demo and it only detect and crop plate.

Best Regards

Ali Abbasi

xequte

38615 Posts

Posted - Jan 18 2020 :  22:00:33  Show Profile  Reply
Hi Ali

Try pairing it with the OCR demo to convert the area of the plate to text.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 19 2020 :  11:46:21  Show Profile  Reply
Hi Nigel

Do you have a sample for it.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38615 Posts

Posted - Jan 20 2020 :  00:34:25  Show Profile  Reply
Hi

Please download the "pixelize plates" demo:

http://www.imageen.com/files/Other/PixelizePlates.zip

Which returns the rect of each number plate in image.


Then review the source code for the OCR demo (in the IEVsion\OCR\ folder):

    // create OCR object
    m_OCR := IEVisionLib.createOCR(PAnsiChar(AnsiString(langPath)), PAnsiChar(AnsiString(langCode)), TIEVisionOCREngine(cmbEngine.ItemIndex));

    // set page layout
    m_OCR.setSegmentationMode(TIEVisionOCRPageSegmentationMode(cmbLayout.ItemIndex));

    // perform OCR
    ocrrect := ImageEnView1.SelectedRect;
    memo1.Lines.Text := m_OCR.recognize(ImageEnView1.IEBitmap.GetIEVisionImage(),
                                        IEVisionRect(ocrrect.x, ocrrect.y, ocrrect.width, ocrrect.height)).c_str();



Change the ocrrect := ... line to use the rect returned by the "Pixelize Plates" demo.


It is quite straightforward, but let us know if you have any difficulty.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ali

Iran
110 Posts

Posted - Jan 20 2020 :  01:58:23  Show Profile  Reply
Hi Nigel

I have a offer for you which it is useful for many developers.
You have a lot of experience in image processing.
Please create a sample plaque reader that crop (separates) the plaque image and converts the plaque image to text.
Then I'll do the whole test for you and report the results and problems.

Best Regards

Ali Abbasi
Go to Top of Page

xequte

38615 Posts

Posted - Jan 20 2020 :  22:54:04  Show Profile  Reply
Hi Ali

The demo you suggest above is joining to simple demos together. It is quite straightforward, so please try it and let us know if you have any difficulty.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: