2010年2月12日 星期五

HW08: Background Subtraction

Who are you?




1. Download the HW08.cpp program from webhd.mcu.edu.tw.
2. Excute and trace the program.
 3. Study the codes.

Body Shap Game 
4. Download the HW08-2.cpp, mask1,jpg and mask2.jpg from webhd.mcu.edu.tw.
5. Excute and trace the program. 6. Study the codes. HW08-2.cpp is a game that will coount the overlapped area between the mask and your body. You win the game if the the overlapped area is larger than a predefined percentage of the mask.



7. Design a new mask for the game.
8. Design a mask in which two person have to cooperate to pass the game.
9. Design a mask in which two person have to compete to pass the game.
10. Use cvPutText to let the video to show some text information like socres or winners.
11. Extend the game to have a sound to hint the user if he or she passes the game.
12. Extend the game to have multiple levels with different masks.

沒有留言:

張貼留言