TechnoLabsz: 2013

TechnoLabsz: Exploring New Technology Through Robotics, OpenCV and Embedded Systems

TechnoLabsz is a hands-on technology journal by Lentin Joseph, sharing practical tutorials, project write-ups and code samples across robotics, computer vision, embedded boards and open-source software. Browse the latest posts below or follow along on social media.

RSS feed icon for TechnoLabsz
Subscribe via RSS
Twitter icon
Follow on Twitter
Facebook icon
Connect on Facebook

Twitter Facebook

Featured Tutorials and Projects

Thumbnail for OpenCV installation on Raspberry Pi
OpenCV on Raspberry Pi
Book cover: Learning Robotics using Python
Learning Robotics using Python
Illustration of how AI and ML work
How AI and ML work
mbed NXP LPC1768 embedded board
mbed ARM board
Cubieboard single-board computer
Cubieboard
Screenshot of OpenCV face detection output
Face detection demo
Screenshot of XAMPP configuration
XAMPP setup
Screenshot of OpenNI tracker error
OpenNI tracker

Talk at PyCon2013 India: Slides and Codes

I presented at PyCon2013 India on how Python is applied in robotics. The slides and sample code are shared below. The demonstration featured a ball-tracking robot built on ROS and OpenCV.

Screenshot from the PyCon2013 India robotics talk
PyCon2013 India talk

View Slides Sample Codes Slideshare Profile

C++ Tips: Pointer to a Function

A short program illustrating how a function pointer is declared, assigned and invoked.

/* 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);
    (*func_ptr)();              /// Invokes the function display
    getchar();                  ///Get char for seeing the output
    return 0;
}
int display()
{
    puts("\n Hello World !!\n");
    return 1;
}

Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: C++

Configuring XAMPP and Setting WordPress, Drupal, Joomla and sNews

Here is the procedure for configuring XAMPP, following the official XAMPP on Linux guide.

Screenshot of XAMPP configuration on Linux
XAMPP on Linux

Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: CMS

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

After installing the OpenNI library on ROS Fuerte or Groovy, you may encounter the error below. I was running Ubuntu 12.04 64-bit. Several solutions can resolve this issue.

Screenshot of the openni_tracker error on ROS
openni_tracker error

Solution 1: download the NITE 1.5.2.21 package from OpenNI.

OpenNI SDK Downloads Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: OpenNI

Eye Blink Detection Using OpenCV in Ubuntu

This is a simple project I completed recently. Its purpose is to detect eye blinking, with an application in detecting whether a driver inside a car is falling asleep. The program detects and tracks the user's eyes, then uses template matching to check whether the eyes are closed. If they are, it prints a message in the terminal and can execute a Python script to pass control events to external devices such as Arduino or other boards.

OpenCV code: blink_detection.cpp

Code Download Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: OpenCV

MPI Send and Receive | MPI Tutorials

I wrote a code that sends 10 numbers from the first process to another process, which then resends the same data back to the first process. It is an example for understanding the MPI Send and MPI Receive functions.

Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: MPI

How to Easily Install OpenCV on Raspberry Pi

Building OpenCV from source on a Raspberry Pi can take around 6-7 hours. Here is the link to install OpenCV from source, plus an easy method.

Easy method to install OpenCV:

  • Connect to the Raspberry Pi using SSH. The figure shows an example of connecting to the RPi via SSH.

Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: OpenCV, Raspberry Pi

How to Install Raspbian on Raspberry Pi

I recently purchased a Raspberry Pi from Kits and Spares. Installation instructions follow.

  • Select a memory card: 4 GB minimum; 8 GB, 16 GB or 32 GB is better if you plan heavy work. I chose a SanDisk 32 GB Class 10 card.
  • Select a good power supply: the Raspberry Pi needs a 5V 500mA-1A adapter for normal operation. If you want to interface more devices, choose a 5V 2A charger or a powered USB hub.

How to install Raspbian on the SD card from Ubuntu Linux.

Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Labels: Raspberry Pi

How to Send Data to a Bluetooth Module from a Linux Machine

A quick tutorial for sending data from a Linux PC to a Bluetooth module. I purchased a Bluetooth module from Sunrom; connect it to an Arduino or any interfacing board.

Read More Comment Email This BlogThis! Share to X Share to Facebook Email Buzz Edit

Books and About the Author

Book cover: Mastering ROS for Robotics Programming
Mastering ROS for Robotics Programming
Profile photo of Lentin Joseph
Lentin Joseph
TechnoLabsz author image
TechnoLabsz

Published second book in robotics: Mastering ROS for Robotics Programming. My new book: Learning Robotics using Python.

About me: Lentin Joseph, Kochi, Kerala, India. I am very interested in learning about new technology.

Home Latest Post

Browse by Topic

  • 3D Modelling (1)
  • Android Programming (8)
  • Arduino (8)
  • ARToolkit (3)
  • Boost (1)
  • C++ (3)
  • Camera calibration (1)
  • CMS (1)
  • Computer (6)
  • Computer Graphics (1)
  • Computer Projects (2)
  • cvblob in window7 (2)
  • cvbloblib (1)
  • Doxygen on Linux (1)
  • eclipse (1)
  • Electronics Projects (9)
  • Embedded Systems (6)
  • Gadgets (1)
  • Gaming (1)
  • Git (1)
  • GNU/Linux (9)
  • Hacking (3)
  • Image Processing (1)
  • Internet (5)
  • Kinect (8)
  • Kinect 3D Coordinate with OpenNI (1)
  • Kinect SDK 1.5 samples (2)
  • Linux Kernel (1)
  • Maple board (1)
  • Mobile Phones (3)
  • Mobile Programming (1)
  • MPI (1)
  • OpenCV (23)
  • OpenCV 2.3.1 (2)
  • OpenCV 2.3.1 on Windows (1)
  • Opencv and HSV (1)
  • OpenCV conversion (1)
  • OpenCV haar detection (1)
  • opencv video tutorials (1)
  • OpenNI (5)
  • OpenNI in Windows 7 (1)
  • OpenNI installation (1)
  • PCB Designer (2)
  • Programming (13)
  • Python (5)
  • Raspberry Pi (3)
  • Robotics (16)
  • Robotics; Arduino (1)
  • ROS (12)
  • ROS and Arduino (1)
  • ROS electric with Laptop Webcam (1)
  • ROS Face tracking (1)
  • ROS on Android (1)
  • ROS Turtlebot (1)
  • ROS Tutorials (3)
  • ROSConn (1)
  • ScreenRecorder (1)
  • Speech Recognition (1)
  • Tech News (2)
  • Techno-Humour (1)
  • Tips and Tricks (7)
  • Touch User Interface (1)
  • V-REP (1)
  • WIfi module (1)

Archive

  • 2017 (1) — March (1)
  • 2016 (1) — July (1)
  • 2015 (2) — December (1), May (1)
  • 2013 (9) — September (1), July (2), June (1), May (1), March (3), January (1)
  • 2012 (77) — November (3), September (10), August (21), July (20), June (3), May (3), April (7), March (6), February (4)
  • 2011 (49) — October (8), September (10), August (31)