Posts

Showing posts from July, 2016

Tracking nearest object with kinect

Image
I think you guys now familiar with Kinect depth image and how it’s behave. Next I will explain some basic  example  so that it will help you to do some basic stuff with Kinect.  Before that, If not go to my first blog post from here. Installation:  http://techgeekon.blogspot.com/2016/07/installingopenni-in-ubuntu-14.html Introduction:  http://techgeekon.blogspot.com/2016/07/hello-world-in-kinect-processing.html As I mention before Kinect keep track of depth values of  all most all the pixels related to pixel position  which are corresponding to the real world instances. If we can access to that depth value pixels using an array ,using simple algorithm we can track which pixel  have least depth, then our goal is complete. Actually SimpleOpenNI have pretty-match all the necessary  data structure  to achieve this  very  easily. This method of keep tracking nearest or specific place which...

Hello world with Kinect and processing

Image
I hope everyone have configured processing and OpenNI. If not go to my first Blog post from here. http://techgeekon.blogspot.com/2016/07/installingopenni-in-ubuntu-14.html First I will show you the processing code for getting depth image and I will explain line by line and properties of image    Copy this code and phase it on processing or download it from here Now Run it  result is something like that showing below below.. image is containing depth image and color image side by side  Now I will go through line by line so that you can understand the code ·          import SimpleOpenNI.*;                 This import the SimpleOpenNI Library  to this program ·          SimpleOpenNI kinect;                   This create a object form the SimpleOp...
Image
Installing OpenNI in Ubuntu 14.04 Hello everyone, Few month ago, I saw a video , doing cool staff using Kinect , like object tracking ,  localization etc . So I bought a Kinect from eBay and start to  code. Before going on to detail of  it is really necessary to understand the physics behind the Kinect to get optimum use . What is a Kinect? Kinect is a device which was originally build as plug-in device for XBOX gaming. it is use to acquire detail ,color, width, height and also the depth  in the range of 20 inch to 20 feet approximately ,using a  inferred net projecting towards to the front object . height ,width and color details are taken using the RGB camera mounted in it and the depth detail taken using Depth camera which is generating  depth values  for each pixel comparing the inferred net projected and reflected inferred net which has  defected due to the depth and curvature of the facing objects.     ...