Skip to content

Transforming images into code at a click. Upload a photo or screenshot and copy the code to your script in seconds!

License

Notifications You must be signed in to change notification settings

bnvulpe/code-extractor

Repository files navigation

Code Extractor: Simplifying the Path from Vision to Script.

Transforming images into code at a click. Upload a photo or screenshot and copy the code to your script in seconds!

Indications: The photos or snippets you wish to use as input in this program should not contain irrelevant text to the code and must be readable by the user. Any difficulty the user may have in reading the entered code poses an additional challenge for the machine in extracting the code, potentially leading to undesired results.


The application is fully compatible with 64-bit Windows operating systems, and its operation requires the presence of Python.

Below, we provide detailed steps for the installation and use of the program:

  • Obtaining the Application: Download the latest version of the application from the official GitHub repository code-extractor .
  • File Decompression: Unzip the .zip file to a location of your choice.
  • Environment Configuration:
    1. Access the application directory.
    2. Verify that Python is added to the system PATH for easy command execution.
  • Running the Application:
    1. Open a terminal window in the application directory.
    2. Install the requirements with the command pip install -r requirements.txt
    3. Run the program with the command python main.py
    4. To close the program, use ctrl+c in the terminal.

Following these steps, the application will run smoothly in your local Windows environment, providing an intuitive and efficient user experience.


Additionally, you can use any integrated development environment (IDE) to access the application through the terminal. For a visual guide on this process, we recommend checking out the following explanatory video:

run.mp4

This video will provide detailed instructions on how to set up and run the application using a specific IDE. We hope you find this visual guide helpful in further simplifying the installation and usage of the program!