Sometimes, we need to start a program when pi boot up, there are several ways to achieve it, I introduce two ways to configure it. First way:Create a .desktop file 1.Create autostart folder $ cd /home/pi/.config $ mkdir autostart $ cd autostart 2.Write desktop file $ sudo nano programname.desktop A new window will open, type […]Read More How to AutoStart a program in Raspberry Pi or Linux?
In order to use the dedicated UART pins on the raspberry pi, first they have to be removed from their default application which is debugging. To do this,we need to edit “/boot/cmdline.txt” and “/etc/inittab“. You can backup this files if you want to return to the default configuration: $ sudo cp /boot/cmdline.txt /boot/cmdline.bak $ sudo […]Read More How to use UART on Raspberry Pi
I have done the single color detection using OpenCV, it only can track one color at the same time. In competition our robot need to track many colors, so I need to design another method for this real-time system. For example, if we want to track 3 colors, we can detect three colors using three […]Read More Multiple-Color Detection using OpenCV
cvBlob is a library for computer vision to detect connected regions in binary digital images. cvBlob performs connected component analysis and features extraction. Before you start to install cvBlob, you must ensure Pi has installed OpenCV-2.4.2. cvBlob can help you to detect color blob quickly, because cvBlob is writen by C++, so your code must […]Read More Install cvBlob on Raspberry Pi
After a few days of learning OpenCV, I started to write my first OpenCV program, the requirement is to detect single color and find three largest color objects, it’s a very basic program, but you can know a lot about computer vision if you understand the code. OpenCV provide so many functions, you have to […]Read More Single color detection using OpenCV
In practice, I always need to transfer or share files in several raspi and Linux PCs, I am lazy to use scp command to do that, so I configured NFS to save my time. What is NFS? NFS was developed at a time when we weren’t able to share our drives like we are able […]Read More Share Files in Raspberry Pi and other Linux PC using NFS
I have used raspberry pi for ten months, I like the toy very much and learn a lot from it, you should know that I didn’t have any Linux experience before. At that time, my project is to develop a vision system for robot using raspberry pi, my first task was to install OpenCV library, […]Read More Install OpenCV on Raspberry Pi