利用大师兄人工智能板的图像识别扩展功能,可以识别25种卡片中的动物,比如:**蚂蚁、金鱼**等。<br />![18.jpg](https://cdn.nlark.com/yuque/0/2022/jpeg/22145445/1650438624984-f3103ce3-0652-431c-8570-fceb9853a7b5.jpeg#clientId=u4b5092be-cbc2-4&crop=0&crop=0&crop=1&crop=1&from=ui&height=300&id=u0e941b5d&margin=%5Bobject%20Object%5D&name=18.jpg&originHeight=1614&originWidth=1614&originalType=binary&ratio=1&rotation=0&showTitle=false&size=762183&status=done&style=shadow&taskId=u8fe4dfb8-9aad-47e4-b7eb-5927e282033&title=&width=300)![23.jpg](https://cdn.nlark.com/yuque/0/2022/jpeg/22145445/1650438625132-db004772-3871-423e-96c1-4097d600941f.jpeg#clientId=u4b5092be-cbc2-4&crop=0&crop=0&crop=1&crop=1&from=ui&height=300&id=ub155a478&margin=%5Bobject%20Object%5D&name=23.jpg&originHeight=1614&originWidth=1614&originalType=binary&ratio=1&rotation=0&showTitle=false&size=777936&status=done&style=shadow&taskId=u542e544c-e0af-4eee-8f1a-b848383625e&title=&width=300)<br /> 识别到返回相应的动物中文名称字符串如“蚂蚁”、“金鱼”,否则返回“未知”。图片可以是摄像头采集的或者图像处理模块中读取。<br />如下程序展示了如何实现动物识别功能,以及如何将识别结果实时显示在屏幕上。<br />程序如下:<br />![screenshot-20220420-151923.png](https://cdn.nlark.com/yuque/0/2022/png/22145445/1650439235382-7f1c2b19-472b-439b-a2c7-0f3dad96ceb5.png#clientId=ub16edc1f-6722-4&crop=0&crop=0&crop=1&crop=1&from=ui&id=ufb3382e5&margin=%5Bobject%20Object%5D&name=screenshot-20220420-151923.png&originHeight=550&originWidth=638&originalType=binary&ratio=1&rotation=0&showTitle=false&size=76080&status=done&style=shadow&taskId=u8fa0a596-2659-4ba1-83b9-35f1bb1b0dd&title=)<br />运行程序,拿出配套的动物卡片,将卡片图案一侧对准摄像头,屏幕会显示识别到的动物名称。