Coder Social home page Coder Social logo

unique-code-generator's Introduction

Unique Code Generator

Given a set of IDs we can generate a set of specially crafted PNG image files that encode the IDs with checksum validation.

This software was tested on Ubuntu 18.04.6 LTS

Dependencies for Running Locally

* cmake >=3.5
* sudo apt-get install libpng-dev

Compiling and Running

Compiling

To compile the project, first, create a build directory and change to that directory:

mkdir build && cd build

From within the build directory, then run cmake and make as follows:

cmake ..
make

Running the command above should build the executable as well as pull down the Google Test Framework is used for testing.

Running

The executable will be placed in the build directory. From within build, you can run the project as follows:

./UCG

I have placed the generated output png files from my runs in 'Resources/results'/

Testing

The testing executable is also placed in the build directory. From within build, you can run the unit tests as follows:

./unit_tests

unique-code-generator's People

Contributors

temi92 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.