Record the screen of the JetsonTX2

Environment

  • Jetson TX2
  • Ubuntu 16.04

Install MPEG4 codec

$ sudo apt-get install ubuntu-restricted-extras
$ sudo apt-get install libav-tools ffmpeg

Record

$ gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=(string)au,format=(string)I420,framerate=(fraction)25/1,pixel-aspect-ratio=(fraction)1/1' ! omxh264enc ! 'video/x-h264,stream-format=(string)byte-stream' ! filesink location="test.h264" -e

Reference

Three Reasons to Use Technology of Movies

Human is one of the creatures who communicate with each others. An important difference between human and other creatures in communication is that people use tools to transfer knowledge. This communication comes from two sides, which are senders and receivers. To receive information, human use five senses, which are sight, hearing, taste, smell and touch. The most contributive way of them is using vision. To get information by using vision, people have two general types of ways such as reading books or watching movies. The main contents of reading books are sentences. On the other hand, movies consist of movement of pictures. People should watch movies to get information effectively for such as entertainment field, business instruction filed and education filed.

First, watching movies is one of the suitable ways to fun amusement in people’s life. The historical backgrounds of books and movies are fundamentally different. Almost 6000 years ago, as the origin of books, clay tablets were developed by Mesopotamia for recording tax data, making contracts and storing academic knowledge. On the other hand, about 200 years ago, phenakistoscopes were developed by using moving disks painted pictures. After this innovation, the technology evolved into films and TVs for enjoying entertainment contents. In the modern period, to enjoy entertainment, most people select watching movie instead of reading books because this media has several features such as nonverbal, dynamic and sensation. Nonverbal is a great effect on to share experience with the people who don’t know same language such as different generation or nation. In addition, following a moving object by eyes is one of the instinctive human traits. Additionally, in movies, it’s possible to hear sounds linked each scenes. This combination provide us high realistic sensation.

Second of all, watching movies is an efficient solution to tell instructions. To prevent misunderstand communication, accuracy of information is an important factor. In books, authors describe message abstractly. However, for example, to use first-aid tools, using books is not enough way because taking misinterpretation leads to a risk of injury directly. For this situation, watching movies is preferable because it is more concrete than reading books. To increase accuracy of information is not just useful for life-threatening situations like above but also for everyday business scenes. When companies want to tell customers their products, videos help customers to imagine the benefits of using the products. Customers can understand easily how they use the products. Making image videos, and showing them in TV commercials or company’s websites is a common way in marketing to general customers.

Finally, watching movies have disruptive innovation potential in education field. For example, to learn study such as math, history and physics, reading books is a common way in school. However, watching movies can be used as a study tool to understand subjects efficiently in school instead of using textbooks. Because, in per unit area, movies have  considerable information more than books. Some say that to translate from textbooks to movies is too much cost for school. However, the cost of making videos is decreasing day by day because the equipments are cheaper than before such as recording, editing and playing tools in recent years. For this reason, education technology field including movies of studying is expanding rapidly.

In conclusion, movies provide us with abundant effects such as enjoying entertainment, understanding accuracy information, and learning study efficiently. Movies engage benefit of amusement, business, and education. We should use movies to earn more effective life.

Three Ways to Change Old Closing Schools to Another Values

Schools are one of the most important public places for human life. Schools engage children to learn knowledge as a core role in cities. Unfortunately, in recent years, a lot of schools had been closed by some problems. We should promote using abolished schools more effective. For example, some cities transformed abolished schools to new buildings such as incubation facilities, hotels, and art museums.

First, closed schools are used for helping startups. Some developed countries such as Japan are facing a declining population. If children are less than before, schools should be closed. According to the Japanese Ministry of Education survey (2018), the number of the schools, which have elementary schools, junior high schools and high schools, declined 6,811 in 13 years. The Fukuoka Growth Next, which is located in Fukuoka, Japan, was made from the Daimyo elementary school for supporting startups. The building has coworking and shared spaces, DIY studios, cafes, bars and free internet. It provides startups some strong opportunities such as a networking event for creating a community formation, a matching meeting with venture capitals and investors. In addition, the facility has teaching programs called Engineer Lab Fukuoka and Fukuoka Design Hub for beginners of engineers and designers.

Second of all, hotels can been constructed from abolished schools. According to Mr. Milin (2010), the total number of the schools increased in these years in the U.S. However, Mr. Milin said “6 percent of school districts closed or consolidated schools during the 2008-2009 school year, double the rate of the previous year”. Because The U.S. has regional differences and some cities faced economic crisis or decreasing students. The Kennedy School in Portland, Oregon state is a good example to change a desert school to a hotel. In 1997, McMenamins, which is a chain company of hotels and pubs, bought the old school building. There are 57 guest rooms, a restaurant, some small bars, a movie theater and a pool. The fancy old yellow wooden hotel is enjoyed by not only tourists but also neighborhoods.

Finally, abolished schools are suitable for art museums. Some say, art is not an useful subject for students. However, there are a lot of opportunities to know histories, cultures, and technologies. In addition, it contributes improvement in value for products. MoMA PS1, which is in Long Island City, NY, is one of the most famous art institution in the U.S. The building was made from a Romanesque Revival school in 1976. The art museum focuses especially for modern art, and it provides people art programs and events. After constructed the building, the value of the area was increased significantly, and the museum helped people who could get job as the guides. This success story influenced other countries. For example, the 3331 Arts Chiyoda in Tokyo, Japan is a cultural arts center. It was made from Kanda Hitotsubashi middle school in 2010. The building designed to be used for artists and creators. There are art galleries, offices, and cafes.

In conclusion, abolished schools provide us another profits such as supporting startups, accommodations and art facilities. Schools engage benefits of not only typical study knowledge but also community, amusement and expressions. We should reuse old closing schools to earn more convenient public places.


Milin, E. M. (2010). Closing a School Building: A Systematic Approach. Washington, DC: National Clearinghouse for Educational Facilities.
http://www.ncef.org/pubs/closing.pdf

The result of actual situation survey on the utilization of school facilities. (2018). Chiyoda-ku, Tokyo: Local Facilities Aid Division, Ministry of Education, Culture, Sports, Science and Technology (MEXT).
http://www.mext.go.jp/b_menu/houdou/29/01/1381024.htm

中国人の友達の熱量

通っているESL学校の運営に関する問題を、約一ヶ月前からクラスメイトと一緒に解決しようと試行錯誤している。どの生徒にも影響を与える学校側の欠陥で、実際にこの問題によって学校を離れてしまった生徒も少なくない。また先生側の負担もあり彼らの離職率は高い。長くて半年間務められればいいといったところだ。しかしながら、生徒の入学から卒業までの期間が数ヶ月という短い期間であり、これまで誰も直視してこなかった。”An elephant in the room.” というのが最も的を得た表現かもしれない。

その問題を分析し、解決案を一つずつ試している。その取り組みのなかで、友達の中国人の熱量に驚かされた。今通っている学校では、シリコンバレーという地理的理由のせいか、先生や生徒に限らず、会社もしくは自分のビジネスを運営している人は少なくない。中国人の彼もその中の1人で自ら運営している会社を香港にもっている。今日、1対1で1時間ほど彼と話す機会があった。よく中国人は交渉毎に強いと言われるが、その理由がよくわかった。印象に残っているのを記録しておく。

  1. 主導: 話を始めると一気に注目を惹きつける。間に意見を挟み込もうとしても阻止される。
  2. 反復: 何度も同じことを繰り返し発言し、会議中に強引に同意を得る。
  3. 過程: 交渉のプロセスを心得ている。人脈を駆使し、あらかじめ交渉したい相手のボスを押さえる。手紙、メール、電話などの手段を問わない。
  4. 感情: 気持ちを表に出し、ときに怒りをあらわにする。
  5. 冷酷: 相手の立場、プライドを重視しない。
  6. 約束: 人とアクションの同意を取り即座に実行を求める。

個人的に全てが同意できるやり方ではないが今後の参考としたい。

高専ロボコンで全国優勝する方法

先日、とある高専専門学校のロボット部から依頼がきた。話を聞くところによると、そのロボット部は高専ロボコンでよい結果を残したいらしく、アドバイスがほしいとのことだ。私は沖縄高専のチームとして高専ロボコン第18~21回(2005~2008年)に参加した経験がある。また、その経験を過去にロボット学会および高専学会において発表または執筆したことがある。今回、これらを基本に加筆修正する形で資料を作成し彼らに送付した。

また、彼らに送った資料をこのブログで公開することにした。公開した理由は2つ。

1つ目は教育。高専ロボコンは森政弘名誉教授によって創設、今日まで発展を続け、氏はその意義について説いている。私がこうしてこれまでロボット技術に興味を持ち続けているのは、ロボコンに参加する機会を与えて下さった森先生のおかげとも言える。他の学生に知ることはロボコンの本来の意味にも通じるものがあると考えた。

2つ目は協力。近年Open Source Softwareの概念によってIT技術が飛躍的に進歩しているが、ロボット分野もその例外ではない。有名なプロジェクトにROS(Robot Operating System)、OpenCV(Open Source Computer Vision Library)などがあり、これらは世界中の大学や企業で使用され、ロボット技術の発展に貢献している。私もこれらのプロジェクトに助けられたことがあり、今回の記事は技術的なものではないが、少しでも工学分野に貢献できればという思いがある。

Continue reading “高専ロボコンで全国優勝する方法”

How to Give Advice

My manager is treating my friends unfairly at work. What should I do?


The solution depends on your mental and physical exhaustion. If you feel ill such as having vertigo or a sore stomach, you should take a break and get the doctor’s opinion. Keeping own health is more important that working. On the one hand, if you have space to consider, you can begin reaffirming the current situation. For example, writing the problem on a paper by using 5W1H questions helps you to clarify the trouble. In addition, having a counseling session with your friends like me or your family gives you an objective viewpoint. I hope you solve it soon.