Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Plate Recognizer Client in C++

Step 1

Get your API key from Plate Recognizer. Replace MY_API_KEY with your API key in the file numberPlate.cpp if you are using Linux or in the file ConsoleApplication2.cpp if you are on Windows.

Step 2

On Windows

Using the Command line

  1. Install MinGW-x64 via MSYS2 https://www.msys2.org/

  2. Add the MinGW compiler to your path https://code.visualstudio.com/docs/languages/cpp#_add-the-mingw-compiler-to-your-path

  3. Install libcurl

    pacman -S mingw-w64-x86_64-curl
    
  4. Build and Run. Open CMD in the location of this file ConsoleApplication2.cpp Run this command to build

    g++ ConsoleApplication2.cpp -o app.exe -lcurl
    

    Run the build program by running this command

    .\app.exe
    

Uisng Visual Studio IDE

On Linux

  • Install Libcurl:sudo apt-get install libcurl3-dev libcurl4-gnutls-dev
  • Compile: gcc -Wall -g -o output numberPlate.cpp -lcurl -lstdc++
  • Run: ./output car.jpg