NM-TAFE / dip-programming-prj-advanced-gui-awesome

Creative Commons Zero v1.0 Universal
0 stars 5 forks source link

Review Assignment Due Date

# OcrRoo ## v1 - Drafted by Rafael Avigad/James Makela --- [Badges here] **AI Powered OCR Code Recognition from Video Tutorials** [![Build](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/build.yml/badge.svg)](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/build.yml) [![Tests](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/tests.yml/badge.svg)](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/tests.yml) [![Accessibility](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/accesibility.yml/badge.svg)](https://github.com/NM-TAFE/project-advanced-ui-development-team-mental-capacity/actions/workflows/accesibility.yml)

About

A video player designed to assist visually impaired developers who want to learn to code. The program reads code from videos to assist visually impaired developers in using these resources.

Features - (need more info)


[Demo Video here]

Installation

To install and run this project, please follow the Installation Guide in the Wiki.

Basic Installation

  1. Navigate to the projects root folder

  2. Create a virtual environment

python -m venv ./venv
  1. Activate the virtual environment Windows:
./venv/Scripts/activate

Mac/Linux

source venv/bin/activate
  1. Install dependencies with pip
pip install -r requirements.txt
  1. Navigate to App Directory

Change into app directory.

cd app/
  1. Run the Application

To run the application with silenced debug/logging output, execute the following command. Debug and logging outputs will be saved to an app.log file

python app.py
  1. Install Tesseract OCR
    For Windows: https://github.com/UB-Mannheim/tesseract/wiki
    • Download the installer.
    • Once it is downloaded open it and go through the installation steps.
    • When you run the program, there is an automated Tesseract executable search in the Settings. Feel free to do the search to save a lot of trouble.

To run the application with debug/logging output in the console, use the following command.This is recommended for development as it automatically reloads the app when changes are detected.

flask run --debug

Configuration Variables

To use the project, add the following configuration variables to your config.ini file:

In the current version of the project, this manual configuration is necessary.However, future builds will allow you to perform this configuration from the user interface (UI).

Contributing

To contribute to this project, please follow the Contribution Guide in the Wiki.

Code of Conduct


License

This project is licensed under the Creative Commons Zero v1.0 Universal license.

Credits

This code was first created by the 2023, S2 Advanced Programming Diploma Group at North Metro TAFE. If you would like your contribution acknowledged, please contact Rafael.