P

Photocode

We aim to empower hackers around the globe to run their code on a mobile device by writing it on paper and then clicking its picture.

P

Photocode

We aim to empower hackers around the globe to run their code on a mobile device by writing it on paper and then clicking its picture.

The problem Photocode solves

Photo code

💡 Inspiration

There are multiple inspirations behind this project

  • When doing competitive programming on any platform, it happens with all of us that while solving the problem, we try really hard but are unable to crack the solution but then, in a completely different setting, out of nowhere, a new approach hit us in our mind. Mostly when it happens, we are in a situation where we do not have immediate access to a system to test our strategy.
  • When the pandemic hit us, there were so many individuals who wanted to start their hacker journey but couldn't due to financial constraints.

💻 What it does

Our project aims to empower hackers around the globe to run their code on a mobile device by writing it on paper and then clicking its picture. The OCR algorithm analyzes and extracts the code from the image and pastes it into an editor where the user could make final modifications before compiling and running the code.

Other features include -

  • Programing languages available to compile:
    • C++
    • C
    • Javascript
    • Java
    • Python
  • Opportunity Section - Lets users explore various career opportunities they can apply to.
  • Blog Section - Lets users read blogs from various sources and share their thoughts.
  • Tutorials Section - Provides links to some useful tutorials on multiple topics users can refer to if they get stuck.

🏅 Accomplishments that we're proud of

  • Completing the project within the given time frame.
  • Creating a fully functional application.
  • Creating OCR algorithm analyzes
  • Building an IDE.

📖 What we learned

  • Using Symbl.ai's Speech to Text service.
  • How to use Hedera for the smart contract.

🚀 What's next for PhotoCode

  • Adding more features to the application.

Installing and Running

  • Tesseract
  • Go to the server directory and do

    npm install

    node index.js

  • In the main directory do

    python manage.py runserver

Challenges we ran into

We have some challenges with installing the Tesseract in our system. It was just not working in two of our members' systems. It made it extremely hard to test out different features and collaborate with each other. But in the end we managed to do it in the given time frame.

Discussion