datahacker.rs@gmail.com

Category: Machine Learning

#FA 003 Face Detection with OpenCV in Videos

In real case scenarios, there is often a need for detection and recognition of faces not just in images, but in videos. For example, this is a necessary prerequisite for security cameras, filters on social networks, identification at work and many other cases where cameras are used. The pictures are static, but videos can be seen as a series of pictures, or frames. All video clips are constructed of a constant number of frames in…
Read more

# K An implementation of a Convolutional Neural Network in Keras – MNIST dataset

In this post we will see how we can classify handwritten digits using convolutional neural network implemented in Keras. Required packages: numpy matplotlib keras tensorflow sklearn seaborn __future__ keras-vis Table of Contents: Load the digit dataset Implementing a Neural Network Visualization Test our model Save a model as picture Activation Maps Saliency maps Activations And now we can plot some predictions, to see how our model works. Images for testing can be downloaded from the…
Read more

# K An implementation of a Shallow Neural Network in Keras – MNIST dataset

In this post we will see how we can classify handwritten digits using shallow neural network implemented in Keras. Our model will have 2 layers, with 64(height x width) neurons in the input layer and 10 neurons in the output layer.We will use normal initializer that generates tensors with a normal distribution. The optimizer we’ll use is Adam .It is an optimization algorithm that can be used instead of the classical stochastic gradient descent procedure…
Read more

#025 CNN Bounding Box Predictions

Bounding box predictions In the last post, we learned how to use a convolutional implementation of sliding windows. That’s more computationally efficient, but it still has a problem of not outputting the most accurate bounding boxes.  In this post, we will see how we can obtain more accurate predictions of bounding boxes.  Output accurate bounding boxes Two different bounding boxes – one with a high and one sliding window With sliding windows, we take the sets of windows…
Read more

#017 CNN Inception Network

\(Inception\enspace network \)  Motivation for the \(Inception\enspace network \): When designing a layer for a \(convnet \) we might have to choose between a \(1 \times 3 \) filter, a \(3 \times 3\) or \(5\times 5\) or maybe a pooling layer. An \(Inception\enspace network \) solves this by saying:“ Why shouldn’t we apply them all ? ”. This makes the network architecture more complicated, but remarkably improves performance as well. Let’s see how this works. An  architecture…
Read more