Skip to main content

Posts

Real-Time Object detection API using Tensorflow and OpenCV

The amount of visual data in the world today has grown exponentially in the last couple of years and this is largely due to lots of sensors everywhere. Building machine learning models that are capable of localizing and identifying obejcts in a single image remains a core challenge in computer vision. Working to solve this problem has ignited my interest into the field. As a path to my quest, I discovered Google just released an object detection API. The API has been trained on Microsoft COCO dataset { A dataset of about 300,000 images of 90 commonly found objects} with different trainable detection models . different trainable detection models The higher the mAp (minimum average precision), the better the model Project Description I started by cloning the  Tensorflow object detection  repository on github. The API is an open source framework built on tensorflow making it easy to construct, train and deploy object detection models. For this pr...

Simple Basics of TensorFlow

TensorFlow is a library for numerical calculation where information moves through the chart. Information in TensorFlow is spoken to by n-dimensional clusters called Tensors. Chart is made of data(Tensors) and scientific tasks. Nodes on the graph: represent mathematical operations.  Edges on the graph: represent the Tensors that flow between operations.  There is one more aspect in which TensorFlow is very different from any other programming language. In TensorFlow, you first need to create a blueprint of whatever you want to create. While you are creating the graph, variables don’t have any value.  Later when you have created the complete graph, you have to run it inside a session ,  only then the variables have any values . More on this later.  How about we begin learning by doing. Run python and import tensorflow: 1 2 3 4 5 6 7 sankit @ sankit : ~ $   python Python   2.7.6   ( default ,  ...