Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.32 KB

README.md

File metadata and controls

17 lines (13 loc) · 1.32 KB

Insect Classifier Web App

  1. Install Python package virtualenv (if it is not installed), using pip install virtualenv.
  2. Create a virtual environment in desired directory, using python3 -m venv my_env, where my_env is the name of your virtual environment. You can replace it with any other name of your choice.
  3. Now activate your virtual environment using source my_env/bin/activate (for Ubuntu) or .\my_env\Scripts\activate (for Windows).
  4. Clone the files from the repo using git clone https://github.com/patel-himanshu/Insect-Classifier-Web-App.git.
  5. Install all the dependencies using pip install -r requirements.txt.
  6. Run the web app using python manage.py runserver.
  7. The development server starts at localhost:8000. Enter the URL in your browser to visit the web app.
  8. To stop the development server, press CTRL + C in the terminal window.

Note: The version of tflite-runtime library mentioned in the requirements.txt works only on Linux. You may check whether the newer version of the library is available for Windows or not, or whether you need to use tflite in your project or not.

Images of the Web App

The Jupyter notebooks of the CNN models used, can be found here.