Object detection using MobileNet-SSD
We will be using MobileNet-SSD network to detect objects such as cats, dogs, and cars in a photo. A combination of MobileNet and SSD gives outstanding results in terms of accuracy and speed in object detection activities. At the end of the section, you will be able to generate images containing bounding box and name of the object:

We always start the same, by loading Julia packages and defining path to opencv.pc
:
ENV["PKG_CONFIG_PATH"] = "/Users/dc/anaconda/envs/python35/lib/pkgconfig" using OpenCV using Images, ImageView using Cxx
The moment Julia packages are defined, we proceed to writing C++ code. Remember that C++ code is encapsulated within special syntax, as follows:
cxx""" <<C++ code goes here>> """
The first thing when starting to write code in C++ is to add all prerequisites, and we will have a number of them in the example:
#include <opencv2/dnn.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> ...