1 / 31

Course Syllabus

Course Syllabus. http://pioneer.netserv.chula.ac.th/~achatcha/. Textbooks. Projects: past, present, and future. Virtual machine (default) Multi-core programming Error diffusion algorithm Sequence alignment algorithm Web programming (Race condition) Cloud computing (Amazon web service)

sasson
Télécharger la présentation

Course Syllabus

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Course Syllabus http://pioneer.netserv.chula.ac.th/~achatcha/

  2. Textbooks

  3. Projects: past, present, and future • Virtual machine (default) • Multi-core programming • Error diffusion algorithm • Sequence alignment algorithm • Web programming (Race condition) • Cloud computing (Amazon web service) • iOS (iPhone + iPad) • Motion detection (MS kinect) เพื่องานจุฬาวิชาการ 2555 • Android, Windows Phone (ยังไม่ได้ทำ) • Wiiก้าวไปงานจุฬาวิชาการ 2558

  4. VMware Linux Windows 7 Mac OS OS1 OS2 OS3 VM1 VM2 VM3 VMware (user program) userprogram userprogram operating system (Windows 7) hardware

  5. An alternative to VMware • Xen (host: modified Linux, guest: Linux, Windows)http://www.xen.org • Sun Solaris xVM (host: OpenSolaris)http://www.desktop-virtualization.com/solaris-xvm/ • Kernel-based virtual machine – KVM (host: Linux)http://kvm.qumranet.com • VirtualBox (host: Linux, Windows)http://www.virtualbox.org • No virtual machines (use boot loaders) VMware advice: save a fresh copy of VM after finishing guest-OS installation.

  6. Choices of Guest OS • Everyone must install Ubuntu (desktop). • You can make a copy of Ubuntu and distribute it in the class. • Another one OS, for example, this list • http://en.wikipedia.org/wiki/Comparison_of_Linux_distributionsMacOS, Android, Windows Phone • Deadline is the last lecture before midterm. • Linux is a good practice to understand theory, • please do the following quizzes by yourself.

  7. Quiz: process management Show kernel version Show kernel (file) and its size. Show CPU information. Run a process with lowest priority (least favorable). Run a process (longer 60 seconds), pause, and resume. Run a process (longer 60 seconds) in background, and terminate. Run two processes and connect them using a pipe. Run three processes in background, and bring the second to the front. Run three processes in background, and terminate the first. Show uptime (elapsed time since booting). Note: use the command “sleep” to make a process.

  8. Quiz: memory management Show memory information. Show amount of free and used memory in the system. Quiz: Storage management Make a file, rename, and delete. Make a folder, rename, and delete. Make a file and change permission so that only the owner can read. Make a file and change both owner and group to “root.” Create a symbolic link. Show disk space (harddisk) usage in human-readable format. Show file space usage of “/usr/share/dict/american-english” in human-readable format. Check and repair file system on harddisk. Search for a given filename.

  9. Quiz: User management Change password. Show on-line users. Show current users on the system and what they are doing. Enable administrator (root or superuser) account. Add a new user and remove. Quiz: Network management Remote login to Chula server (pylorus.it.chula.ac.th ของบุคคลากร). Transfer a file from Chula FTP (pylorus.it.chula.ac.th ของบุคคลากร). Send an email to someone. Show IP address of your computer. Show IP address of pylorus.it.chula.ac.th (or other servers). Show MAC address of your host computer. Show connection speed to Google.co.th (or other servers). Download a file through HTTP at 0.00AM (or other times).

  10. Quiz: Utility (1) Show the manual page of “man” command. Make a beep sound using “echo.” Change font color to green and background color to black (at a terminal). Show only the first 10 lines of /etc/passwd (or other text files). Show only the last 10 lines of /etc/passwd (or other text files). Show only the line containing “sys” in /etc/passwd (or other text files). Show only the line ending with “land” in /usr/share/dict/american-english. Count the number of lines in /usr/share/dict/american-english. Open /usr/share/dict/american-english in a text editor, and search for “microcomputer.” Make a text file, put your firstname, save and display each character sequentially in hex. Make a text file, put your firstname, encrypt with password protection. Write a program in C, compile, and execute. Write a program in C, compile, and redirect error message to a file. Run a process that will continue after logout. Shutdown in the next 10 minutes.

  11. Quiz: Utility (2) Make a folder with a file inside and compress it to “foldername.tar.gz.” Make a folder with a file inside and compress it to “foldername.zip” and make a checksum. Make two files (firstname and lastname), put them together using “cat,” “>,” and “>>.” Split /usr/share/dict/american-english into 10 files (x00 to x99). Show only the first column in /etc/passwd. Show printer queue. Show current date & time. Show calendar.

  12. Microsoft Kinect

  13. วัตถุประสงค์ • ใช้ Kinectเพื่อตรวจจับการเคลื่อนไหว และเปลี่ยนเป็นลำดับของการกดคีย์บอร์ด เพื่อเล่นเกมคอมพิวเตอร์ หรือเพื่อใช้แอพพลิเคชันอื่นๆ http://www.youtube.com/watch?v=6N4fs-2CbrU

  14. ขั้นตอนการทำงาน • เชื่อมต่อ Kinectกับ PC ผ่านทาง USB portใช้ Kinect SDK ให้แสดง skeleton

  15. ขั้นตอนการทำงาน • เก็บข้อมูล motion ซึ่งเป็น time series ของแต่ละ joint ลงไฟล์(เก็บข้อมูลทุกๆ 1/10 วินาที เป็นต้น) Position of a joint in 3D (meter) z y x time

  16. ขั้นตอนการทำงาน • ใช้ Dynamic time warping (DTW) algorithmเพื่อทำ motion detection (ยังไม่ real time, ทำเป็นไฟล์) Motion 1Motion 2Motion 3… … … Motion? vs. Database

  17. ขั้นตอนการทำงาน • Dynamic Time Warping (DTW) References

  18. ขั้นตอนการทำงาน • ทำ “real-time” motion detection (ต้องไม่ lag) โปรแกรมตอบได้ทันทีว่าปัจจุบันผู้ใช้งานทำท่าอะไรอยู่ Kick!

  19. ขั้นตอนการทำงาน • ทำโปรแกรม motion record และ keyboard mapping(ทำ process communication)

  20. ขั้นตอนการทำงาน • เลือกเกมหรือแอพพลิเคชันมาประยุกต์ใช้กับโปรแกรมที่เขียนขึ้นออกแบบ motion สำหรับการใช้งาน อื่นๆ ที่ไม่ใช่เกมเช่น การนำเสนอผลงาน เป็นต้น

  21. เกณฑ์การให้คะแนน (100 คะแนน) • จำนวน motion ที่สามารถตรวจจับได้ (25%) • ความถูกต้องของการตรวจจับ motion (25%) • ประสิทธิภาพของ DTW algorithm (25%) • ความคิดสร้างสรรค์ การออกแบบและประยุกต์ใช้ (25%) • โบนัส (+60 คะแนน) • มีการใช้ multi-core / multi-threading (+20%) • เล่นได้ 2 คน ต่อ Kinect 1 เครื่อง (+20%) • Face recognition (+10%) • Voice recognition (+10%)

  22. 2556 Project Add one more device. Wii

  23. Aim • First Person Shooting (FPS) game. • Multi-players. • Collaboration of all players. • Use Microsoft Kinect for non-shooting control. • Big screen (projector & wall) • One PC for all devices, Kinect + Wii devices. • สำหรับงานจุฬาวิชาการ 2558

  24. เกมอื่นๆ แล้วแต่ความคิดสร้างสรรค์ของนิสิต • เหมาะสมกับการเผยแพร่ต่อสาธารณะ • ส่งเสริมการเรียนและการฝึกปฏิบัติของรายวิชา 2301371 Oper. Sys. • สำหรับงานจุฬาวิชาการ 2558 (ขอเกม graphic สวยๆ) เกมที่จะใช้ KINECT + WiiMoteได้ที่คิดๆ ไว้ก็มี 1. Counter Strike / African Safari / gun games 2. God of War / Zelda / sword + shield games 3. Tennis / Pingpong / racket games4. Mario 3D !!! หรือใช้ KINECT x 2 ตัว (2 คนสู้กันหรือช่วยกัน)1. Street Fighter (ไม่ควรจะเป็นเกมบน XBOX ที่ใช้ KINECT เล่นได้อยู่แล้ว)หรือใช้ WiiMote x2 ตัว (ง่าย) 1. Drive & Shoot games(World of Tanks, ใช้ Wiiเป็นพวงมาลัย + ปืน) หรือใช้ KINECT (ขา) เป็นคันเร่ง

  25. Wii Bar Battery หรือจะตัดสายไฟ adaptor ขนาด 9V ก็ได้ต่อสาย + (แดง) – (ดำ) ให้ถูกต้อง+ คือ 9V และ – คือ GND ลองสลับสายดูใช้ clip หนีบกับสายของ Wii Bar

More Related