Git Product home page Git Product logo

image_preprocessing_workshop's Introduction

image_preprocessing_workshop

Developed with AI Foundations Team from Manufacturing Automations, Intel

Setup Guide

1. Google Colab, simplest and minimal setup required

Note: Requires a Gmail account to log in and connect to Google Colab
Note: If you have privacy concerns, please complete a local installation instead, refer below for instructions

2. Local installation, estimated completion time: 30 mins

  1. Download latest python version from https://www.python.org/downloads/ Download Python
  2. Run the downloaded executable
    • uncheck "Add python.exe to PATH" to avoid clashing with your existing python version/workspaces.
    • Select "Customize installation"
      Customize Installation
  3. In Optional Features,
    • choose only to install "pip" and
    • click "Next" as follows
      Optional Features
  4. In Advanced Options,
    • uncheck all tickboxes,
    • copy the "customize install location" path and saved it to a sticky note / notepad
    • click "Next" as follows
      Advanced Options
      In case if you lose your python installation path, most probably it will be defaulted to C:\Users\<user>\AppData\Local\Programs\Python\<PythonVersion>
  5. Once installation is completed, go ahead and close the executable. Setup Successful
  6. Download the repository as "Download ZIP"
    Download Zip
  7. Extract the zip file to Desktop
    Extract Zip
  8. Open the directory
    • right click and select "Open in Terminal"
    • if "Open in Terminal" is not available, try selecting "Show more options"
      Open In Terminal
  9. Paste the python path you've previously saved and check the version as follows
    C:\Users\<user>\AppData\Local\Programs\Python\<PythonVersion>\python.exe -V
    
    Python Version
  10. Create a virtual environment (venv) by
    C:\Users\<user>\AppData\Local\Programs\Python\<PythonVersion>\python.exe -m venv venv
    
    • A new folder named venv would appear in the repository directory
  11. Activate the virtual environment by
    .\venv\Scripts\activate
    
    • The terminal line would appear (venv) as follows
      Python venv
  12. Ensure (venv) is activated and pip install the necessary python packages / libraries / dependencies by
    pip install -r .\requirements.txt -i https://devpi.intel.com/root/pypi
    
    Pip Install
    • Once pip installation has been completed, it should show all the libraries successfully installed as follows
      Pip Done
  13. Ensure (venv) is activated and we are ready to run the code by
    python .\ai_summit_opencv_workshop.py
    
    Run Code
    • You should be able to see a window appear as follow
      Testing Window
  14. Congratulations! Setup is complete and feel free to play with the sliders.

image_preprocessing_workshop's People

Contributors

junon 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.