Design and Realization for Embedded Network Camera Based on Content Retrieval

Author
LongYunXiang
Advisor
ZhouChunGuang
School
Jilin University
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2009
Downloads
58
Citations
0

Request the full text

Abstract

With the continuous development of camera technology and network technology, network camera has been widely used in various fields. It not only can be used for regional monitoring based on computer local network (for example, traditional monitoring such as the monitoring of community, office, bank, market), but also can be used for new type of cross-regional remote monitoring and on-line display through the Internet such as children and elderly care, unmanned engine room monitoring, tourist attractions online display, product exhibition, etc. And with the improvement of DSP technology, as well as the expansive application of embedded system, network camera performance has increased substantially. It becomes possible to the uptake images for further process.This paper starts from the specific application of image surveillance. It gives a design and implementation of network camera system based on content retrieval. This paper takes the process of embedded system development and design as the clues to the writing sequence, and introduces the design and realization of the network camera based on content retrieval.This paper proposed the development of the network camera and the application fields first, then, made out the function requirements of the system, and designed the functional modules focus on these requirements. These functional modules includes video sample module, image processes module, LCD display module, keyboard, memory module and net transport module. After the functional modules design, this paper chose the DSP as the system framework, then, focus on the weak expand ability, added CPLD to the system as the logic control. These logic control parts include the reset and read/write of peripheral modules, address decoder of asynchronous space and the key scanning algorithm. This makes the whole framework have a flexible expansion. And the compute ability of the CPLD can release the processor burden. After the decision of the system framework selection, this paper completed the expansion of the peripheral modules, and finished the hardware overall design for the system.With the hardware foundation, this paper, to the video stream as the perspective, introduced the every step of the process to the video frame and the data format before/after the process. It connected the modules of the system through once process to the video stream, and made these a whole, also gave the function of each module. For the process of the video stream, this paper gave an overall structure to the software algorithm, the system software flow includes three parts: sample of the video information, image pre-process and detection of moving object. According to the flow, this paper assigned the mission for the two core of the processor. The work for the core A is: drive the modules after power up, build the background model, pre-process the images (mainly about gray of image) and update the background model according to the new image frame. The work for the core B is: using the moving object detecting algorithm to difference the gray images and get the moving object part in the surveillance scenes, transport the interested images to the host through the Internet.After that, this paper focused on the design and implement of hardware platform, including each module’s design in detail. First this paper introduced the DSP minimum system, and then gave the expansion for the other peripheral modules. The DSP minimum system includes clock, power and reset signal. The peripheral modules part mainly about memory device (including SDRAM, FLASH and SD card), video sample device, LCD interface and network device. The hardware platform part is mainly about how the chip pin connected. After that, this paper discussed the part of CPLD logic control including global address decoder logic, network logic, global reset logic, key scanning algorithm and the assignment of the asynchronous space address.After the hardware platform design, this paper designed and implement the drives for the devices. It made out the driver for the system core. The main function of this part is to give the support to the whole system, make sure that each module can communicate to the system core. These drivers include the configuration to the system work clock, the configuration to the EBIU, PPI and TIMERS. Then implement the drivers to the memory device, video decoder, LCD and network device.The software mainly includes three parts: sample of the video information and image pre-process, detection of moving object and transplant and optimize to the algorithm. The first part described the image format based on the video decoder. In the meanwhile, in order to display in the LCD, this paper described the conversion from YUV space to the RGB space. Then optimize the algorithm to run in the platform efficiently. Then it gave the algorithm of the conversion from the YUV space to the gray space. The second part discussed two moving object detecting algorithm: frame difference and background difference. Through the comparison between the two algorithms, this paper chose background difference as the system detecting algorithm. Then it gave the procedure of building the background image and updating it. This paper used statistic-based way to build the background image and updated it dynamically in the time of image sample. After building the background image, the moving object can be detected in the video frames using the difference and to get ready for the next work. The system took the binarization process to the gray image after difference so that the moving object in the image frames was easier to distinct. Combined the procedure of the image processing, this paper assigned the memory space for the images that were processed in each phase and this was throughout the whole image processing phase. The algorithm optimization part described the further optimization to the code in the ASM level combined the processor resources.In the last part, this paper summarized the entire system design and implement, and then it discussed the advantages and disadvantages of the system and put forward the main content to the next phase of work. In contrast, the advantage of this system is to transplant the image processing part to the nodes so that to reduce the host handling stress. In the meanwhile, it also could save the network bandwidth. There are, so far, some shorts in this system. These shorts include: the system resources are not fully used yet and the classifying and recognizing algorithms of the object are not transplanted to the embedded system yet. It is still processed by the host. In the next step, the main work will be around to improve system performance, saving network bandwidth and other content.

Table of contents

Summary 4-9 Chapter 1 Introduction 9-13 1.1 intelligent network monitoring system development status 9-10 1.1.1 video monitoring system development and application of 9 1.1.2 Intelligent Network Camera 9-10 1.2 embedded systems and DSP Introduction 10-11 1.2.1 embedded systems Introduction 10-11 1.2.2 DSP Introduction 11 1.3 In this paper, 11-13 Chapter 2 of the overall system design 13-21 2.1 system features an overview of 2.2 system architecture 13-18 2.2.1 system-core processors 13-15 2.2.2 system storage space About 15-16 2.2.3 System external device expansion 16-18 2.3 data stream processing 18 2.4 software algorithm description 18-21 Chapter 3 hardware platform design and 21-32 3.1 minimum system build 21-22 3.1.1 clock 21-22 3.1.2 power 22 3.1.3 Reset 22 3.2 external storage devices 22-24 3.2.1 SDRAM 22-23 3.2.2 FLASH 23 3.2.3 SD memory card interface 23-24 3.3 image acquisition module 24-26 About 3.3.1 ADV7183B 24-25 3.3.2 image acquisition module overall design 25 3.3.3 video decoder initialized 25-26 3.3.4 image transmission 26 3.4 LCD interface design 26-27 3.4.1 LCD pin description 26 3.4.2 LCD Interface Design 26-27 3.5 network module 27-29 3.5.1 networks is control chip Overview 27-28 3.5.2 PacketPage access mechanism Overview 28-29 3.5.3 network module overall design 29 3.6 CPLD logic control module 29-32 3.6.1 Global Address decoding 30 3.6.2 network interface logic 30-31 3.6.3 global reset signal 31 3.6.4 keyboard scan logic 31 3.6.5 LED lights 31-32 Chapter 4 Driver Development 32-41 4.1 The core of the system and external interface driver 32-34 4.1.1 system working clock 32-33 4.1.2 External Bus Interface Unit 33 4.1.3 PPI interface configuration 33 4.1.4 the TIMER timer configuration 33-34 4.2 storage device driver 34-35 4.2.1 SDRAM driver 34-35 4.2.2 flash drive and read and write control 35 4.3 video decoder module driver 35-38 4.3.1 I ~ 2C bus technology 36 4.3.2 ADV7183B driven design 36-37 4.3.3 PPI0 interface configuration 37 4.3.4 DMA0 interface configuration 37-38 4.3.5 DMA0 interrupt set 38 4.4 LCD display module drivers 38-39 the 4.4.1 PPI1 interface is to configure 38-39 4.4.2 TIMER timer configuration 39 4.5 network device driver 39-41 5 software design, realization and optimization 41-52 5.1 image acquisition and preprocessing 41-44 5.1.1 ITU-R BT.656 video streaming 41-42 5.1.2 YUV and RGB conversion 42-43 5.1.3 YUV sample formats 43-44 5.1.4 the video image gray scale processing 44 5.2 motion detection algorithm description 44-48 5.2.1 Time Difference Method 45 5.2.2 The background subtraction method 45-46 5.2.3 background model to establish 46 5.2.4 background image update 46-47 5.2.5 Difference image binarization processing 47-48 5.3 algorithm optimization 48-52 5.3.1 ADSP-BF561 processor core data manipulation 48-49 5.3.2 the algorithm part of the optimization 49-52 Chapter 6, system testing and experimental results 52-55 6.1 system correctness testing 52-54 6.2 real-time system testing 54 6.3 Experimental results 54-55 Chapter 7 Summary and outlook 55-57 7.1 full-text summary of the work 55-56 7.2 of the current problems 56 7.3 the next phase of work 56-57 References 57-59 Appendix 1 platform design schematics 59-67 thank 67-68 Summary 68-71 Abstract 71-73

Related dissertations

  1. Research and Design of Intelligent Video Surveillance System Based on ARM
  2. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  3. Design and Simulation of Turntable Servo Control System Based on DSP
  4. Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
    HuDongXuan ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. Design and implementation of the short range active defense system in the central controller based on DSP
  6. Design of Magnetic Compass Sensor Based on CPLD
    MaLe ·Harbin Engineering University ·2013 ·Master's thesis
  7. Research on Moving Object Detection Algorithm in Intelligent Video Surveillance System
  8. Research on Video Surveillance Data Detection Based on GPU
  9. Object Recognition of Mobile Robot Based on Omnidirectional Vision
    GongZuoHong ·Harbin Engineering University ·2013 ·Master's thesis
  10. Design and Implementation of Remote Video Monitor System Based on Embedded Technology
    QiuGuangNeng ·Hunan University ·2013 ·Master's thesis
  11. Object Detection by Recovering Sparse and Low-rank Components of Matrics
    LiuLiangLiang ·Hunan University ·2013 ·Master's thesis
  12. Industrial Intelligent Camera Design Based on DSP
  13. Moving Object Detection Technology Study Based on Fractal Analysis and Optical Flow Estimation
  14. Research on moving object detection algorithm based on background subtraction and frame difference method based on
    YuQiMing ·Jiangxi University of Technology ·2013 ·Master's thesis
  15. Moving Object’s Denoise, Segmentation and Detection Algorithm Based on Video Sequence
    ZhaoLiXing ·Yanshan University ·2013 ·Doctoral dissertation
  16. Research on Optimal Algorithms for Video Moving Object Detection
  17. Research and FPGA Realization of Real-time Motion Video Sequences to Achieve Target Detection Method
  18. Research on Detection Method for Moving Object Based on FPGA
    FuDuoZuo ·University of North ·2014 ·Master's thesis
  19. The Research and Design of Field Tester of1553B Bus
  20. Design and Implementation of the Motion Control System Based on USB Interface