1 / 19

Real-Time Video Analysis on an Embedded Smart Camera for Traffic Surveillance

Real-Time Video Analysis on an Embedded Smart Camera for Traffic Surveillance. Presenter : Yu-Wei Fan. Outline. Introduction System Architecture Hardware Software Algorithm Stationary Vehicle Detection Algorithm Mapping External memory access Data transfer Number format issues

ashtyn
Download Presentation

Real-Time Video Analysis on an Embedded Smart Camera for Traffic Surveillance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Real-Time Video Analysis on an Embedded Smart Camera for Traffic Surveillance Presenter: Yu-Wei Fan

  2. Outline • Introduction • System Architecture • Hardware • Software • Algorithm • Stationary Vehicle Detection • Algorithm Mapping • External memory access • Data transfer • Number format issues • Computing Performance

  3. Introduction Traffic surveillance consider about: • Real time. • Limited resources such like memory and power. The system include: • CMOS image sensor • Performs high-level video analysis • Compresses the video stream using MPEG-4 • Transfers the compressed data via an IP-based network to a base station

  4. Outline • Introduction • System Architecture • Hardware • Software • Algorithm • Stationary Vehicle Detection • Algorithm Mapping • External memory access • Data transfer • Number format issues • Computing Performance

  5. Hardware

  6. Hardware Video Sensor: LM-9618 CMOS sensor 2. Processing Unit : A rough estimation results in 10 GIPS computing performance. TMS320C6415 DSPs (600 MHz) 3.Communications Unit: Intel XScale IXP425 processor

  7. Software • DSPs: The DSP/BIOS real-time operating system operates the DSPs. • Xscale: Linux (Kernel 2.6.8.1) operates the network processor, allowing access to a broad variety of open source software modules.

  8. Outline • Introduction • System Architecture • Hardware • Software • Algorithm • Stationary Vehicle Detection • Algorithm Mapping • External memory access • Data transfer • Number format issues • Computing Performance

  9. Stationary Vehicle Detection Requirements: • A stationary camera position • Pretty static ambient light conditions

  10. Stationary Vehicle Detection Algorithm: 1. The statistics of the pixel’s intensity is computed and stored in the observation distribution (OD) matrix of size n × m. 2. The OD values are used to adapt the values of the background model (BG). Typically : α=0.1 a=1 3. The algorithm identifies long-term intensity changes between the BG and the OD distribution. 4. If a connected component exceeds a predefined area a stationary vehicle has been identified.

  11. Outline • Introduction • System Architecture • Hardware • Software • Algorithm • Stationary Vehicle Detection • Algorithm Mapping • External memory access • Data transfer • Number format issues • Computing Performance

  12. External memory access • Excessive access to external memory is a major source for poor performance on embedded DSP architectures. • In many high-level languages memory management is hidden from the programmer.

  13. External memory access Consider the example: For image data at full PAL resolution (720 × 576, 8-bit pixels), this results in a total of 7.12 MB of transferred data. The poor performance is poor.

  14. External memory access Image-based vs. pixel-based The transferred data is reduced to 2.47 MB

  15. Data transfer • Direct memory access (DMA) to improve the memory transfer between the external memory and processor. • A regular data access pattern is an important precondition for effective DMA. • Use “ping-pong” buffers.

  16. Number format issues • Memory is a crucial resource in embedded systems. Especially, internal memory has to be handled very carefully. • Parallelism can be improved by exploiting packed-data processing capabilities of current DSPs.

  17. Outline • Introduction • System Architecture • Hardware • Software • Algorithm • Stationary Vehicle Detection • Algorithm Mapping • External memory access • Data transfer • Number format issues • Computing Performance

  18. Computing Performance SVD algorithm in Matlab 6.1R12 with 2.4 GHz Pentium 4 desktop computer. C++ implementation directly derive from the SVD Matlab code. 3. Use algorithm mapping tactics.

More Related