2013년 1월 18일 금요일

install OpenCV on ARM

http://josanmoreno.tumblr.com/post/32868245422/raspberrypi-webcam-opencv-facedetect

1. Following steps from MitchTech install necessary libs
sudo apt-get update
sudo apt-get -y install build-essential cmake cmake-qt-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools
sudo apt-get -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev pkg-config
2. Download and compile OpenCV
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
tar -xvjpf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1/
mkdir build
cd build
 cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
cmake-gui ..
make
3. Exec facedetect app
cd ~/opencv/OpenCV-2.3.1/build/bin
facedetect


tip
sudo apt-get install libvl4l-dev
sudo apt-get install libgtk+

2013년 1월 12일 토요일

mrpt 0.9.6 arm porting 작업 내용

ubuntu 10.04 default path로 적용된 모든 library path를 제거

atomic 수정

opencv, gl, ffmpeg(libdc1394)제거 

examples만 활성화 시키고 나머지 app, test, 등등은 제거

examples 에러부분은 해당 project 제거

arm보드에서 실행 되므로 core, hardware library만 생성하면 된다.


2012년 11월 11일 일요일

How to connect Android and Arduino through the audio channel

Android의 Audio jack를 이용해서 Interactive toy를 하려고 했지만
잘 안되었다.

http://code.google.com/p/androino/wiki/AndroinoTerminal

위의 사이트에서 제공하는 SoftModem은 4.0이라 5.0으로 교체해서
사용 했고 Audio cable은 3-pole에서  4-pole로 사용 했다.

그런데 SoftModem에서 Android기기로 데이터 전송은 되는데(가끔 못받음)
반대로는 안된다.

질문에서도 같은 증상이 있다.
I can receive on the Android side, but not transmit, any suggestions?

어떻게 해야하는가?

- windows at a job -

2012년 11월 7일 수요일

Interactive toy project

Interactive toy를 위한 첫번째 단계
Audio jack Bluetooth를 이용한 smart phone 데이터 통신 

DSC03296 DSC03293
두번째 
 resizing, current control, simple interface

세번째
 기구 제작,  detail tuning

 네번째
 Application 개발 : chatting server, 3D avatar 

 다섯번째
 Beta test

- mac at home -

2012년 11월 2일 금요일

OPRoS GUI for Android on Mac OSX(Lion)

OPRoS GUI for Android on Mac OSX(Lion)
1. GUI Deign
2. Engine Compile
3. Activity + JNI
4. Communication with OCE
5. Connection between Android Event(button, view, etc) and OCE command

SC20130104-014146
스크린샷 2012-11-14 오전 1.55.19
chart

2012년 5월 19일 토요일

ubuntu server network setting

sudo vi /etc/network/interfaces

auto eth0 iface eth0 inet static address 218.38.147.88 netmask 255.255.255.0 gateway 218.38.147.1 dns-nameservers 210.94.0.73

sudo vi /etc/resolv.conf nameserver 210.94.0.73

sudo ifup eth0