2011年7月23日土曜日

OpenCV on Mac OS 10.6

I succeeded in compiling a sample code of OpenCV on Mac OS 10.6 according to the procedure as follows.

(1) I installed OpenCV via MacPorts according to the following page.
http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port

(2) Though I had to make a symbolic link in
/opt/local/include/opencv/
as follows.
sudo ln -s /opt/local/include/opencv2 /opt/local/include/opencv/opencv2

(3) I made a project of C++ standard for Mac on Xcode and write a sample code of OpenCV.

(4) I configured project information of Xcode as follows.
Available Architecture : i386 x86_64 only. PPCs are deleted.
Header Search Path : /opt/local/include/opencv

(5) I added frameworks(library files) into the project.
/opt/local/lib/libopencv_core.dylib
/opt/local/lib/libopencv_highgui.dylib
/opt/local/lib/libopencv_ml.dylib

(6) I built and executed a sample code.

2011年7月21日木曜日

A travel to Mactan island

I have traveled to Mactan island one and a half years ago. I met a girl who is eleven years old when I was walking shore near the hotel I stayed. She was selling souvenirs and said that she didn't go to school. Her parents divorced and her father left her and her mother, she said. I wonder that why they could divorce although filipino can not divorce. However, she and I are not good at English, so we couldn't communicate more.

2011年7月18日月曜日

Investor relations data of JR East

Investor relations data of JR East

Returns of equity of JR East are as follows.
Mar/2008 12.30%
Mar/2009 11.30%
Mar/2010  6.87%

return of equity = (net income after tax) / (Shareholder equity)

JR East got high profit in 2007 and 2008 as a Japanese company. ROEs were above 10%.

However, it declined in 2009. JR East renovated many shops and stations and launched real estate business. It cost much.

2011年7月4日月曜日

ALTs remain.

I attended a workshop of a NPO on 25 June. The NPO holds a workshop once a month. However, they did't after the earthquake for several months. I have't attended it for a long time.

There were graduate students from Latin America at the workshop before the earthquake. They came out of rich familys in Latin America. After the earthquake, all graduate students had come back home and there are only assistant language teachers from UK. ALTs were participating the workshops before and remain.

2011年7月1日金曜日

Get radiation

I saw a child sitting in a window seat in an airplane. I wondered the child might get radiation more than me sitting in an aisle seat in a center row.

I thought about energy and nuclear power problem as I looked at a map of the world.

Armenia seems to be located near to Baku. I guess Armenian can live without nuclear power if oil or gas is transported from Baku.

I admire German policy of energy. Frankfurt is located far from the sea. It's hard to transport oil or gas there.