Giter Club home page Giter Club logo

online-edu-helper's Introduction

Online-Edu-Helper Demo

Table of contents

General info

Sookmyung Women's University 2021 Computer Vision final term project

Team Member : 서희(0hee0), 이도연(omocomo)

Duration of development : 2021.12.15-2021.12.19

Real-time service based on object detection, Online Edu Helper demo

: Detecting face, phone, school supplies in webcam to help remote class management

image

Technologies

Tensorflow Flask React

Custom dataset

  • Goal — To detect face, phone, school supplies in webcam
  • Application — To help remote class management
  • Details — 2200 images with bounding boxes over 9 classes
    • face (400), smartphone (200)
    • ruler, glue, ocarina, recorder, scissors, pen, book (each 200)
    • mix (200)

Install

activate conda

🍎 for m1 mac

install xcode command line tools

xcode-select --install

install Miniforge

https://developer.apple.com/metal/tensorflow-plugin/

chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh
sh ~/Downloads/Miniforge3-MacOSX-arm64.sh
source ~/miniforge3/bin/activate

create conda env

  • python version important; python 3.9 or higher is not supported (2021.12)

  • If Anaconda3 is installed, make sure to delete it and check if conda is running on miniforge3 through conda info

conda create —name tf27 python=3.8 
conda activate tf27

install packages

🍎 for m1 mac

install tensorflow

conda install -c apple tensorflow-deps
pip install tensorflow-macos
pip install tensorflow-metal

install object_detection

  1. download the models

    !git clone --q https://github.com/tensorflow/models.git

  1. compiles the proto buffers

    cd models/research

    !protoc object_detection/protos/*.proto --python_out=.

  2. setting up environment variables (Enter a local path to models/ in YOUR_PATH)

    $ vi ~/.bash_profile
    export PYTHONPATH="YOUR_PATH/models:YOUR_PATH/models/slim"
    
    vi ~/.zshrc
    source ~/.bash_profile
    
  3. REBOOT

  4. final install and setup of object detection API

    python setup.py build
    python setup.py install
    

(ModuleNotFoundError: No module named 'tf_slim' pip install --upgrade tf-slim)

install packages for app.py

pip install -r requirements.txt

Usage

Flask

python run.app

React

cd client
yarn
yarn start

online-edu-helper's People

Contributors

hee-suh avatar omocomo avatar

Watchers

James Cloos 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.