Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Computer Vision Workshop

You're reading from  The Computer Vision Workshop

Product type Book
Published in Jul 2020
Publisher Packt
ISBN-13 9781800201774
Pages 568 pages
Edition 1st Edition
Languages
Authors (3):
Hafsa Asad Hafsa Asad
Profile icon Hafsa Asad
Vishwesh Ravi Shrimali Vishwesh Ravi Shrimali
Profile icon Vishwesh Ravi Shrimali
Nikhil Singh Nikhil Singh
Profile icon Nikhil Singh
View More author details
Toc

8. OpenVINO with OpenCV

Activity 8.01: Face Detection Using OpenVINO and OpenCV

Solution:

  1. We will create a new Jupyter notebook and name it Activity8.01.ipynb. We will be writing our code in this notebook.
  2. First, we will load the required modules:
    # Load the required modules
    import os
    import cv2
    import numpy as np
  3. Next, let's specify the path to the downloader script:
    # Specify the path to the downloader script
    DOWNLOADER_SCRIPT = "/opt/intel/openvino/deployment_tools/"\
                        "open_model_zoo/tools/"\
                        "downloader/downloader.py"
  4. We will also specify the model name, output directory, and precision.

    The code for this is as follows:

    # Specify the model name which we want to download
    MODEL_NAME = &quot...
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}