Subscribe:

Ads 468x60px

Featured Posts

.

Tuesday, September 3, 2013

Talk at PyCon2013 India : Slides and Codes

Hi all

     I have talked at PyCon2013 India about application of python in Robotics. Given below the slides and Sample Codes. I have demonstrated a ball tracking robot working on ROS and OpenCV. 




Wednesday, July 10, 2013

C++ Tips : Pointer to a Function

Program showing the usage of Function Pointer

 /*  
 name : main.cpp  
 Calling a function using function pointer  
 */  
 #include <stdio.h>  
 int main()  
 {  
      int display();  
      int (*func_ptr)();        ///Declare function Pointer  
      func_ptr = display;        /// Assign address of function  
      printf("\n Address of function display is %u", func_ptr);      ///Printing Address of function  
      (*func_ptr)();          /// Invokes the function display  
      getchar();            ///Get char for seeing the output  
      return 0;  
 }  
 int display()  
 {  
      puts("\n Hello World !!\n");  
      return 1;  
 }  


Output
-------------




Monday, July 8, 2013

Configuring XAMPP and Setting Wordpress , Drupal ,Joomla and sNews

Hi all

 I am giving the procedure for configuring XAMPP

1. I followed the procedure from the following link



                      or

               



Sunday, June 30, 2013

How to solve "openni_tracker [ERROR]: Find user generator failed" on ROS

Hi all

  When you install OpenNI library on ROS Fuerte/Groovy, you might be get the following error. I am using Ubuntu 12.04 64 bit.

openni_tracker [ERROR]: Find user generator failed

Here are some solution in which we can solve this issue

Solution 1:



Sunday, May 26, 2013

Eye blink detection using OpenCV in Ubuntu

Hi all

This is a simple project that i did recently. The purpose of this project is to detect the blinking of eyes. The application of this project is to detect whether the driver inside the car is sleeping or not.

Using this program, we can detect the eyes of the user and can track their eyes.  Using template matching technique, we will check whether the eyes are closed or not .. If the eyes are closed, it will print a message in terminal also execute a python script to pass control the event into external devices such as arduino or anyother boards

 Opencv code :blink_detection.cpp


Saturday, March 16, 2013

MPI Send and Recieve | MPI Tutorials

Hi all

 I  wrote  a code which can sent 10 numbers from first process to another  process, then the other process will  resent the same data to first process.

It is an example code for understanding MPI Send and MPI Recieve functions


Sunday, March 3, 2013

How to easily install OpenCV on Raspberry Pi

Hi all

      Building opencv source code in Raspberry Pi will take about 6-7 hours.
Here is the link to install opencv from source

Easy method to install opencv

1)Connect to Raspberry Pi using ssh. Fig shows an example of connecting Rpi using ssh



Saturday, March 2, 2013

How to install Raspbian on Raspberry Pi

Hi all

    Recently i purchased a raspberry pi from Kits and spares. I am giving the link here
    http://shopping.kitsnspares.com/bon1/productdescription.asp?id=482662

    Installation instruction.

1)Select a memory card with  4 GB. Select 8GB or 16GB or  32GB will be good if you plan to do some heavy work on Raspberry Pi. Me selected the following sd card from sandisk. Here is the link

Its a 32GB ,class 10 memory card from SanDisk

2)Select a good powersupply:  Raspberry Pi requires a charger with a rating 5V 500ma-1A adapter for  normal operation. But if you want to interface more device into Rpi, either select a good charger with 5V,2A or puchase a powered usb hub.


How to install Raspbian on sdcard from Ubuntu Linux