Intel Delta 9 course
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
android
images
imgproc
openpose
places205
README.md

README.md

Intel Delta 9 lectures

Join chat for any kind questions: Join the chat at https://gitter.im/intel_delta9/Lobby

Image processing language Halide

Date: February, 28. 18:00 - 19:20 MSK

Look at https://github.com/dkurt/delta9/tree/master/imgproc.

Deep learning with OpenCV on PC, smartphone, in browser

Date: February, 28. 19:40 - 21:00 MSK

We'll see several computer vision problems are solved by deep learning models. Follow Requirements section if you want to bring laptops or reproduce the code locally.

Requirements

Guide the following steps for each of the samples. Execute commands in terminal (Ubuntu) or using Developer Command Prompt (Microsoft Windows).

DL on PC

Human pose estimation using OpenPose model.

  • Install python and NumPy on your system

  • Download OpenCV source code or clone it using git:

    git clone https://github.com/opencv/opencv.git --depth 1
  • Create build folder:

    cd /path/to/opencv
    mkdir build && cd build
  • Build OpenCV modules:

    • Ubuntu

      cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_LIST=dnn,python2,highgui,videoio,imgproc .. && make -j4
    • Microsoft Windows

      "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Release -DBUILD_LIST=dnn,python2,highgui,videoio,imgproc -G "Visual Studio 14 Win64" ..
      "C:\Program Files\CMake\bin\cmake.exe" --build . --config Release -- /m:4
  • Specify OpenCV location:

    • Ubuntu

      export PYTHONPATH=/path/to/opencv/build/lib:$PYTHONPATH
    • Microsoft Windows

      Assuming OpenCV installed at C:\Users\%USERNAME%\opencv\build

      set PYTHONPATH=C:\Users\%USERNAME%\opencv\build\lib\Release
      set PATH=C:\Users\%USERNAME%\opencv\build\bin\Release;%PATH%
  • Check installation: create a text file test_opencv.py with the following python code:

    import cv2 as cv
    
    img = cv.imread('example.png')
    cv.imshow('Test OpenCV', img)
    cv.waitKey()

    Run by python test_opencv.py (Ubuntu) or by C:\Python27\python.exe test_opencv.py (Microsoft Windows).

  • Download files

    1. Pose estimation .caffemodel
    2. Pose estimation .prototxt

DL on smartphone

Recognize gender by face. This sample is based on Age- Gender- recognition networks

DL in browser

Use Places205-AlexNet model for scene recognition.

Do you like it?