摘要
在嵌入式平台下设计并实现了一种B/S模式的动态图像监控系统。该方案采用ARM2440为硬件平台,开源嵌入式Linux为嵌入式操作系统,使用USB摄像头为图像采集设备,LCD为本地动态图像监控显示设备。方案中采用了Video for Linux 2(V4L2)编程接口采集图像,使用多媒体库Simple D1irect Media Layer(SDL)将采集到的图像显示在本地LCD上,同时移植了Boa作为Web服务器,利用了CGI、JavaScript和图像预加载preload技术巧妙地将图像显示在网页中。用户只要打开浏览器就可以在网页上浏览动态监控图像,同时也可以在硬件设备安装的本地LCD上观看高清的动态监控图像,实现了浏览器和本地LCD的动态图像监控。该系统既实现简单又能满足视觉要求。
A kind of dynamic image monitoring system with B/S mode is designed and implemented on ARM Linux embedded platform. The system employs ARM2440 as hardware platform, open - source embedded Linux as embedded operating system, USB camera as image acquisition device and LCD as local monitoring device for dynamic image. In detail, the system uses Video for Linux 2 (V4L2) Application Programming Interface (API) to capture image, multimedia library Simple Direct Media Layer (SDL) to show the captured image on the local LCD, and Boa as Web Server. Besides CGI (Common Gateway Interface) , JavaScript and image preloading technology are skilffuUy applied to display pre - loaded images in the Web pages. As long as the client opens a browser, not only the dynamic monitoring image in web pages but also the high - definition dynamic image can be seen on the local LCD after monitoring device (including LCD) is installed. That is, dynamic monitoring image can be seen on browser as well as local LCD. The system can be achieved simply and meets the visual requirements as well.
出处
《微处理机》
2013年第1期69-72,共4页
Microprocessors