TechnoLabsz: April 2012

{"html":"

TechnoLabsz: Exploring New Technology

Welcome to TechnoLabsz, a blog devoted to discovering emerging technology across computer vision, robotics, programming, electronics projects and open-source software. Browse the topic labels below to jump straight to the areas that interest you most.

Stay connected and follow the blog:

\"RSS
Subscribe via RSS
\"Twitter
Follow on Twitter
\"Facebook
Connect on Facebook

Twitter Facebook

Popular Posts

\"Eye
Eye blink detection using OpenCV in Ubuntu
\"Cubieboard
Cubieboard: A threat to Raspberry Pi
\"Learning
Published a Book: Learning Robotics using Python
\"mbed
mbed: An embedded board based on ARM
\"Social
Social Robot: My final year project (Opensource)
\"Configuring
Configuring XAMPP and Setting Wordpress, Drupal, Joomla and sNews
\"C++
C++ Tips: Pointer to a Function
\"OpenCV
How to do OpenCV haar-training in Windows 7

Latest Articles

OpenSURF Computer Vision Library

I recently came across a new library built on top of OpenCV for feature extraction called OpenSURF. It is a clean, unobtrusive SURF feature extraction library written in C++ with OpenCV. Check the links below for more details.

OpenSURF details OpenSURF project page

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

How to Access an Environmental Variable in CMAKE

Here is a quick tip on accessing an environmental variable in CMake. To access an ENV variable, use the syntax: $ENV{variable}.

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

How to Access an Environmental Variable in Linux using C++

Environmental variables can be accessed through C or C++ code on Linux. The getenv() function retrieves environmental variables. Syntax: char* getenv(const char *name), where name is the required environment variable. Example code:

/* getenv example: getting path */\n#include <stdio.h>\n#include <stdlib.h>\nint main () {\n  char * pPath;\n  pPath = getenv (\"PATH\");\n  if (pPath!=NULL)\n    printf (\"The current path is: %s\",pPath);\n  return 0;\n}

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

Installing Linux Kernel 3.3.2 on Ubuntu 11.04

I am sharing the link that helped me complete this installation.

Kernel installation guide

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

OpenCV and Mouse

A simple program demonstrating mouse interaction using OpenCV.

//code---------------------------------------------\n#include \"cv.h\"\n#include \"highgui.h\"\n#include <iostream>\n#include <stdio.h>\n#include <stdlib.h>\nIplImage* capture;\nCvPoint pt1;\nCvFont font;\nvoid on_mouse(int event,int x ,int y,int flags,void* param) {\n  std::cout<<\"X=\"<<\"\\t\"<<x<<\"\\t\"<<\"Y=\"<<\"\\t\"<<y<<std::endl;\n}\nint main(int argc, char** argv ) {\n  cvInitFont(&font, CV_FONT_HERSHEY_SIMPLEX, 1.0, 1.0, 0, 1, CV_AA);\n  capture = cvLoadImage(argv[1], 1);\n  cvNamedWindow( \"result\", 1 );\n  cvShowImage( \"result\",capture );\n  //Mouse call back funtion\n  cvSetMouseCallback(\"result\",on_mouse,0);\n  cvWaitKey(0);\n  cvReleaseImage( &capture );\n  cvDestroyWindow(\"result\");\n}

Output

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

Doxygen on Linux

Doxygen is a documentation system for C++, C, Java, Objective C, Python, IDL, Fortran, VHDL, PHP and C#. We can generate HTML documentation, LaTeX documents, man pages and XML using Doxygen. On Linux there is a GUI for Doxygen called doxygen-gui or doxywizard. Procedure for generating documents: keep the source code in a folder (it can be a header file plus cpp code, or cpp code alone). Launch the GUI by typing doxywizard in the terminal. Browse the source code folder and follow the instructions as per the screenshots. 1) Browse the path where source code is placed, and the path for output HTML files.

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

Setting OpenCV 2.3.1 on VS2008 and 2010

This is a simple tutorial for setting up the OpenCV 2.3.1 library on Windows 7. Procedure: Download Visual C++ 2008 Express Edition through web-install. Link: http://msdn.microsoft.com/en-us/express/future/bb421473. Download OpenCV 2.3.1 from SourceForge. Link: http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/OpenCV-2.3.1-win-superpack.exe/download. Install OpenCV 2.3.1 into C:\\Program Files. Open Visual C++ and create an empty project. Add a cpp file for coding: right click on Source file -> Add -> New item. Select .cpp and give a name to the cpp file. Set up Include Dir and Link folders as per screenshots.

Read the full post Comments Email This Edit Share to Email BlogThis! Share to X Share to Facebook Share to Buzz

Newer Posts Older Posts Home Subscribe to: Posts (Atom)

Books by Lentin Joseph

\"Mastering
Mastering ROS for Robotics Programming
\"Learning
Learning Robotics using Python

Second book in Robotics: Mastering ROS for Robotics Programming. New book: Learning Robotics using Python.

About the Author

\"Profile
Lentin Joseph

Lentin Joseph, Kochi, Kerala, India. I am very interested to know about new technology.

View my complete profile

Labels

Blog Archive

  • 2017 (1)
    • March (1)
  • 2016 (1)
    • July (1)
  • 2015 (2)
    • TechnoLabsz in April 2012: A Snapshot of a Busy Tech Blog

      April 2012 was a month in the life of Technolabsz, a technology blog built around hands-on exploration. Rather than chasing headlines, the site focused on the practical side of technology: understanding how things work, writing code that does something useful, and building small projects that teach big lessons. This page collects the spirit of that period and points readers toward the topics that defined the blog.

      What the Blog Covered

      TechnoLabsz has always been a place where curiosity meets experimentation. The mix of subjects reflects that: computer vision with OpenCV, robotics, programming in Python and other languages, electronics projects, GNU/Linux, Arduino, computer fundamentals, security topics, and mobile phones. In any given month, readers could move from a programming concept to a hardware build without leaving the site.

      Why This Kind of Blog Matters

      • It connects theory to practice, showing how code and circuits come together in real projects.
      • It covers both software and hardware, which suits makers who work across disciplines.
      • It treats open tools like GNU/Linux and Arduino as first-class subjects.
      • It keeps learning approachable, with explanations aimed at people who want to try things themselves.
      What is Technolabsz about?
      It is a technology blog exploring OpenCV, robotics, programming, electronics projects, GNU/Linux, Arduino, computer topics, Python, hacking, and mobile phones.
      How can I follow the blog?
      You can subscribe via RSS and stay connected through the site's Twitter and Facebook channels.
      Is the content aimed at beginners?
      The blog favors practical, hands-on explanations that help readers learn by doing, whatever their starting point.