OpenCV

warning: Creating default object from empty value in /home/www/virtual/phaisarn.com/sun/htdocs/modules/taxonomy/taxonomy.pages.inc on line 33.

OpenCV-2.1.0 using CMake and Visual C++ 2010

Test on Windows7 SP1 32-bit
Pre-Requisites

CMake OpenCV 2.1.0 
 

  1. Download OpenCV-2.1.0-win.zip

Difference between Channels*Width*Height and WidthStep*Height?

If the image width is not an even multiple of 4, cvCreateImage() pads each row
to make it an even multiple of 4. The docs say this is for efficiency (speed)
during processing.
ที่มา: groups.yahoo.com/

Installing OpenCV on Linux (Ubuntu)

ทดสอบบน Ubuntu 10.04 LTS (Lucid Lynx)

1. ก่อนอื่นติดตั้ง package ที่จำเป็นดังนี้

g++, libgtk2.0-dev

2. จากนั้นทำการติดตั้ง package ดังต่อไปนี้

libcv4
libcv-dev
libcvaux4
libcvaux-dev
libhighgui4
libhighgui-dev
opencv-doc
(‘python-opencv’ not required)

3. จากนั้นทดลองทำการบันทึกไฟล์ hello.cpp ไว้ทดสอบ

 

Syndicate content