Blog Archives
Image or Video Object Tracking Using SURF (Speeded Up Robust Features) On Visual Basic.Net 2012
Hi All Student in the world, In the month of Ramadan in 2013, we would like to share knowledge about how to perform object tracking from video or from the image. We use some of the tools used to make it easier to read the image file, as well as access to a webcam, are as follows this library and compiler ; 1. Emgu (libemgucv-windows-universal-gpu-2.4.9.1847.exe) and Visual Studio VB.Net 2012. Especially thanks to :
- Youtube user with id name “18F4550videos” at http://www.youtube.com/watch?v=zjxWpKCQqJc (OpenCV Tutorial 11: Object Detection and Tracking via SURF (Speeded Up Robust Features) in Emgu CV).
- Paper Reference : ftp://ftp.vision.ee.ethz.ch/publications/articles/eth_biwi_00517.pdf
Interface Project Image-Video Object Tracking Using SURF :
This few steps that must be done is as follows run the code :
- Install the “libemgucv-windows-universal-gpu-2.4.9.1847.exe” on your computer.
- Make sure you have installed VS Visual Basic.Net 2012.
- Setting “. Net Framework Component” of the browse file “… \ bin \ Emgu.CV.UI.dll” according to where you extract the “libemgucv-windows-universal-gpu-2.4.9.1847.exe”. Right Click “Components -> Choose Items.. -> Browse file … \ bin \ Emgu.CV.UI.dll -> Open -> Click OK” as shown below :
to add “HistogramBox, ImageBox, MatrixBox and PanAndZoomPictureBox”.
- Copy all files *.dll from “.. \ bin \ x86” to “C: \ Windows \ System32” if you are using Windows 32-bit, “.. \ bin \ x64” for Windows 64-bit.
- Setting Project Properties part 1, Add Reference : “Right Click Project SURF->Click Add Reference… -> Browse Folder “..\Emgu\bin -> Choose .dll file -> Click Add Button”, as shown below :
Then select All file .dll EmguCV -> Right Click -> Click Properties -> Set “Copy Local” become “True”, as shown below :
Setting Project Properties part 2, Add Existing Items : “Right Click Project SURF->Click Add -> Click Existing Item… -> Browse Folder “..\Emgu\bin\x86″ -> Select All Files (*.*) -> Choose all file *.dll opencv -> Click Add Button”, as shown below :
Then select All file .dll OpenCV -> Right Click -> Click Properties -> Set “Copy to Output Directory” become “Copy always”, as shown below :
- Download the all code from <Here : SURF_On_July_2013.zip>. Note : “After Download it, To Extract File (SURF_On_July_2013.zip), You must Rename Extension *.doc to *.zip”
. (We re-write the code from video above and with little modified, so it’s can be running on VS Visual Basic.Net 2012).
- To running, Right Click Project SURF -> Click Clean, Then Click Rebuild (Wait This Moment) -> Click Debug -> Click Start New Instance. Enjoy Use This Code.
This first preview interface code when running (Image Object Tracking) :
This second preview interface code when running (Video Object Tracking) :
Any Suggestions, Question and Other, Send to My Email : visualstudiofreecode@gmail.com
(CMIIW & PMIIW). “Welcome to fasting Ramadhan to all my brother and sister”.
-Warm Regards-