Skip to Main Content
Hands-On Computer Vision with Julia
book

Hands-On Computer Vision with Julia

by Dmitrijs Cudihins
June 2018
Beginner to intermediate content levelBeginner to intermediate
202 pages
5h 5m
English
Packt Publishing
Content preview from Hands-On Computer Vision with Julia

Face detection using Open CV

Now that you have learned to get the content from a camera, we can proceed with extending the C++ code and adding the face detection functionality. We will learn how to draw the bounding boxes, get the coordinates, and crop the face:

We start by initializing the Julia packages:

ENV["PKG_CONFIG_PATH"] = "/Users/dc/anaconda/envs/python35/lib/pkgconfig"using OpenCVusing Images, ImageViewusing Cxx

The moment packages are loaded, we proceed to defining C++ code. C++ code is defined within the cxx""" <<C++ code>> """ tag and then executed in REPL.

The first thing to do in the C++ code is defining and including the libraries. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres
Learning Julia

Learning Julia

Anshul Joshi, Rahul Lakhanpal
Julia: High Performance Programming

Julia: High Performance Programming

Ivo Balbaert, Avik Sengupta, Malcolm Sherrington

Publisher Resources

ISBN: 9781788998796Supplemental Content