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

Image capturing from web camera

We are starting our introduction to advanced image processing with capturing the content from a video camera.

Capturing frame from the camera is be done in multiple steps:

  1. Identifying the camera
  2. Capturing the frame
  3. Converting the frame to Julia images
  4. Previewing the result

We will also find the most efficient way of getting the results to Julia images; that is, running the conversion process from C++ on a Julia side or saving and reloading the image.

First, we start by initializing libraries and configuration parameters:

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

Next, we proceed with defining the function to convert Open CV images to Julia images: ...

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