Results 1 to 5 of 5

Thread: Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2024
    Posts
    24

    Question Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

    HI!!
    I am researching on this since months but never get a complete library or stable but in .NET there are so many really don't want to shuffle. after all this there are two ways either
    develop introp services
    develop complete solution in .Net

    Olaf's VBRichClient found the only easy solution for covering so many lacks we guyz was facing. (no documentation so pretty hard to learn) but appreciate his work and also those who want to keep vb6 alive till we are.

    both of required amount of time and research. right now dont have that much if you guyz have solution even paid (i will pay) or if able to develop can also hire your service.

    or

    have anything that can connect VB6 to available .net (great library/controls) in next post i will post links what have found till in web there are so many chinese developer who worked on this but as no documentation found how to use it.

    i really don't want to come out from my vb6 world.

    Thanks for reading!!
    Happy Coding

  2. #2
    Lively Member
    Join Date
    Jul 2017
    Posts
    117

    Re: Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

    OpenALPR can be run from the command line.

    https://github.com/openalpr/openalpr


    Change the path to alpr.exe and to the sample image.
    Code:
    Option Explicit
    
    Private Sub RunCommand()
        Dim wsh As Object
        Dim execObj As Object
        Dim outputLine As String
    
        Set wsh = CreateObject("WScript.Shell")
        
        Set execObj = wsh.Exec("cmd.exe /c " & "C:\Users\QWE\Downloads\Compressed\openalpr-2.3.0-win-32bit\openalpr_32\alpr.exe" & " " & "C:\Users\QWE\Downloads\Compressed\openalpr-2.3.0-win-32bit\openalpr_32\samples\au-1.jpg")
        If Err.Number <> 0 Then
            Debug.Print "Error executing command: " & Err.Description
            Exit Sub
        End If
    
        Do While execObj.Status = 0
            DoEvents
        Loop
    
        Do While Not execObj.StdOut.AtEndOfStream
            outputLine = execObj.StdOut.ReadLine
            Debug.Print outputLine
        Loop
    
        Set execObj = Nothing
        Set wsh = Nothing
    End Sub
    
    Private Sub Form_Load()
        RunCommand
        Unload Me
    End Sub

    Outputs:

    Code:
    plate0: 10 results
        - BX41P2     confidence: 87.8295
        - BX412  confidence: 84.8967
        - BX41PZ     confidence: 83.8802
        - BX4DP2     confidence: 83.4717
        - BX4P2  confidence: 82.9226
        - BX4IP2     confidence: 81.994
        - BX4OP2     confidence: 81.0967
        - BX41Z  confidence: 80.9474
        - BX4QP2     confidence: 80.7907
        - BX40P2     confidence: 80.6151

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2024
    Posts
    24

    Re: Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

    Thank you so much for understanding my situation and your prompt response. I will return with test results.

    thank you so much bro

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Dec 2024
    Posts
    24

    Re: Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

    commercialized completly do you have any another solution?

    thanks for your suggestion

  5. #5
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,733

    Re: Automated Number Plate Recognition (ANPR) or Using .Net Library/OCX (VB6)

    commercialized completly do you have any another solution?
    Can you elaborate on this statement?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width