A C++ based cross-platform application to convert programming flowcharts to code in C, C++ and Python, made as the Advanced-Track project for the course ESC 101 under Prof. Nisheeth Srivastava. The application converts images of hand-drawn flowcharts and flowcharts in XML format. GUI of the application has been created using wxWidgets framework, OpenCV has been used for image processing and running the pre-trained neural network, and tesseract library for recognizing text in images.
There are two ways to run the application:
- Clone the repository and then run from /bin/(Your Operating System). OR
- Download only the Application from the given below links according to your operating system:
Run the following commands once in terminal for installing dependencies: (If running Debian based linux)
sudo apt install leptonica-dev libdc1394-22 libavcodec-dev libavformat-dev libswscale-dev
For libjasper as it is not available now...
sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main”
sudo apt update
sudo apt install libjasper-dev
Install the same libraries if running a non-Debian based linux using their corresponding package managers.
After installing the dependecies run the following code to open the application:
./Flowchart2Code
If still some library are shown missing please install them...