简体   繁体   English

相关的微控制器规格(非常)简单的图像处理

[英]Relevant microcontroller specs for (very) simple image processing

My and my fellow students are deciding on a choosing a simple microcontroller to do very basic image processing. 我和我的同学正在决定选择一个简单的微控制器来进行非常基本的图像处理。 We are basically trying to implement template matching to find a set of objects in specific portions of the image. 我们基本上试图实现模板匹配,以在图像的特定部分中查找一组对象。 We'd like to use a connect a webcam to the microcontroller to do the job take the pictures and look for the objects. 我们想使用连接网络摄像头到微控制器来完成工作拍摄照片并查找对象。 We also require basic wireless communication (eg bluetooth or wifi). 我们还需要基本的无线通信(例如蓝牙或wifi)。

I don't think we will have the luxury of using state-of-the-art microcontroller, but something thats been around for a while (due to budget and stuff). 我不认为我们会有使用最先进的微控制器的奢侈品,但有些东西已经存在了一段时间(由于预算和东西)。 Could anyone please advise on which specs of the microcontrolelr would be the most relevant for the above task (eg CPU, MIPS, etc). 任何人都可以建议微控制器的哪些规格与上述任务最相关(例如CPU,MIPS等)。

Thanks a lot! 非常感谢!

For this kind of a task, I would say the amount of RAM is the most relevant spec. 对于这种任务,我会说RAM的数量是最相关的规范。

  • A microcontroller with an external memory interface allows you to extend the data space with additional SRAM to hold your image data. 具有外部存储器接口的微控制器允许您使用额外的SRAM扩展数据空间以保存图像数据。

  • Also note, that memory is needed for any protocol stacks you need to implement (Bluetooth, TCP/IP even more so). 另请注意,您需要实现的任何协议栈都需要内存(蓝牙,TCP / IP甚至更多)。

  • You probably want to have total RAM in tens of kilobytes, preferably 100+ kB. 您可能希望总RAM为几十千字节,最好是100+ kB。

It is also nice to have plenty of program memory available when learning and experimenting. 在学习和实验时,有足够的程序存储器也很好。
Later on you can try to optimize and squeeze your code into a more confined device. 稍后,您可以尝试优化并将代码压缩到更受限制的设备中。

As for the architecture, choose something you can easily find development tools and examples for. 至于架构,选择一些可以轻松找到开发工具和示例的东西。
ARM, AVR and PIC are all good candidates among others. ARM,AVR和PIC都是很好的候选者。

Also find out what interfaces you need to use to 还要找出需要使用的接口

  • control the camera (eg I2C or SPI) 控制相机(例如I2C或SPI)
  • read pixel data (eg parallel or analog) 读取像素数据(例如并行或模拟)

Connecting directly to a webcam's USB interface would not be a straightforward task, as the microcontroller would need to act as a USB host. 直接连接到网络摄像头的USB接口不是一项简单的任务,因为微控制器需要充当USB主机。

Good luck with your project! 祝你的项目好运!

You may need a microcontroller with following features: 您可能需要具有以下功能的微控制器:

  1. USB 2.0 Host controller USB 2.0主机控制器
  2. 1.2MB of memory for buffer 640*480*2(bytes per pixel)*2(double buffer) (you may use lower resolution if there are not enough memory) 1.2MB内存用于缓冲区640*480*2(bytes per pixel)*2(double buffer) (如果内存不足,可以使用较低分辨率)
  3. Wifi controller Wifi控制器
  4. CPU power strong enough for your task CPU功率足以满足您的任务需求
  5. Ready open source code 准备好开源代码

It seems that broadcom controllers may be useful here. 似乎broadcom控制器在这里可能很有用。 Also, you can by off-the-shell Wifi router with usb port and use it for your project (ie Linksys E3000 ) 此外,您可以通过带有USB端口的外壳Wifi路由器将其用于您的项目(即Linksys E3000)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM