探索Kinect:从零开始的黑客之旅

3星 · 超过75%的资源 需积分: 10 14 下载量 198 浏览量 更新于2024-07-24 收藏 18.08MB PDF 举报
"Hacking the Kinect" 本书《Hacking the Kinect》深入浅出地介绍了微软的革命性体积传感器Kinect,并提供了编写代码和创建涉及Kinect的有趣项目的方法。作者包括Jeff Kramer、Nicolas Burrus、Florian Echtler、Daniel Herrera C. 和 Matt Parker,他们都是技术领域的专家。书中内容涵盖了从基础到高级的各种主题,旨在帮助读者掌握使用Kinect设备进行自定义编程的技能。 全书共分为11章,逐步引导读者深入了解Kinect: 1. **第1章:介绍Kinect** - 这一章为读者提供了Kinect的基础知识,包括它的起源、设计目标和在游戏及交互式应用中的作用。 2. **第2章:硬件** - 详细讲解了Kinect的物理组件,如深度相机、红外投影仪、麦克风阵列等,以及如何连接和配置硬件。 3. **第3章:软件** - 介绍了与Kinect交互所需的软件工具,包括SDK(软件开发工具包)的安装、API的使用,以及开发环境的设置。 4. **第4章:计算机视觉** - 讨论了如何利用Kinect获取的数据进行图像处理,如物体识别、背景分割等计算机视觉技术。 5. **第5章:手势识别** - 展示了如何训练和实现基于Kinect的手势识别系统,以实现无触碰交互。 6. **第6章:体素化** - 介绍了将3D空间数据转换为体素网格的技术,为三维重建和分析提供基础。 7. **第7章:点云,第一部分** - 分析了点云数据的获取、存储和初步处理,为后续章节做准备。 8. **第8章:点云,第二部分** - 进一步探讨点云的高级处理,包括滤波、匹配、融合等技术。 9. **第9章:对象建模和检测** - 教授如何使用Kinect数据进行三维对象建模,以及如何实现目标检测和跟踪。 10. **第10章:多个Kinect设备** - 探索如何同时使用多个Kinect,实现更大范围的感知和更复杂的场景理解。 11. **索引** - 提供了方便查阅的书内关键词索引,帮助读者快速定位特定主题。 每一章都旨在添加新的信息,从Kinect本身到处理其数据的方法,没有冗余的内容,所有章节都为创建3D应用程序提供必要知识,特别是针对杀手级算法的开发。无论你是初学者还是有经验的开发者,这本书都将帮助你充分利用Kinect的潜力,实现创新的应用。

The following is the data that you can add to your input file (as an example). Notice that the first line is going to be a line representing your own hobbies. In my case, it is the Vitaly,table tennis,chess,hacking line. Your goal is to create a class called Student. Every Student will contain a name (String) and an ArrayList<String> storing hobbies. Then, you will add all those students from the file into an ArrayList<Student>, with each Student having a separate name and ArrayList of hobbies. Here is an example file containing students (the first line will always represent yourself). NOTE: eventually, we will have a different file containing all our real names and hobbies so that we could find out with how many people each of us share the same hobby. Vitaly,table tennis,chess,hacking Sean,cooking,guitar,rainbow six Nolan,gym,piano,reading,video games Jack,cooking,swimming,music Ray,piano,video games,volleyball Emily,crochet,drawing,gardening,tuba,violin Hudson,anime,video games,trumpet Matt,piano,Reading,video games,traveling Alex,swimming,video games,saxophone Roman,piano,dancing,art Teddy,chess,lifting,swimming Sarah,baking,reading,singing,theatre Maya,violin,knitting,reading,billiards Amy,art,gaming,guitar,table tennis Daniel,video games,tennis,soccer,biking,trumpet Derek,cooking,flute,gaming,swimming,table tennis Daisey,video games,guitar,cleaning,drawing,animated shows,reading,shopping Lily,flute,ocarina,video games,baking Stella,roller skating,sudoku,watching baseball,harp Sophie,viola,ukulele,piano,video games Step 2. Sort the student list in the ascending order of student names and print them all on the screen After reading the file and storing the data in an ArrayList<Student>, your program should sort the ArrayList<Student> in alphabetical order based on their names and then print the students' data (please see an example below). As you can see, here is the list of all students printed in alphabetical order based on their names and hobbies. You are not going to have yourself printed in this list (as you can see, this list does not have Vitaly). Alex: [swimming, video games, saxophone] Amy: [art, gaming, guitar] Daisey: [video games, guitar, cleaning, drawing, animated shows, reading, shopping] Daniel: [video games, tennis, soccer, biking, trumpet] Derek: [cooking, flute, gaming, swimming] Emily: [crochet, drawing, gardening, tuba, violin] Hudson: [anime, video games, trumpet] Jack: [cooking, swimming, music] Lily: [flute, ocarina, video games, baking] Matt: [piano, Reading, video games, traveling] Maya: [violin, knitting, reading, billiards] Nolan: [gym, piano, reading, video games] Ray: [piano, video games, volleyball] Roman: [piano, dancing, art] Sarah: [baking, reading, singing, theatre] Sean: [cooking, guitar, rainbow six] Sophie: [viola, ukulele, piano, video games] Stella: [roller skating, sudoku, watching baseball, harp] Teddy: [chess, lifting, swimming] Step 3. Find all students who share the same hobby with you and print them all on the screen Finally, your program should print the information related to the students who share the same hobby as you. In my case, it would be the following based on the above-mentioned file. There are 0 students sharing the same hobby called "hacking" with me. There are 1 students (Teddy) sharing the same hobby called "chess" with me. There are 2 students (Amy, Derek) sharing the same hobby called "table tennis" with me.

2023-06-10 上传