{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab2 - Department of Electronic Engineering City University...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
By Van TING, Dec 2009 1 Department of Electronic Engineering City University of Hong Kong EE3314 Information Product Design Lab 2 Building Video Surveillance System I. Introduction Upon successful completion of this lab, students should be able to: square6 Install and use webcam to record video stream square6 Install and configure Drupal square6 Publish web contents with Drupal square6 Integrate motion detection system into Drupal square6 Install and configure extra modules and themes in Drupal While you have successfully set up a software framework for a web information system, we have not created any contents yet. Traditionally, content of a website is created and maintained by the web administrator. For example, a store releases its new product catalog on its company website. This kind of contents is regarded as static. Nowadays, web development becomes much more dynamic and tends to aggregate contents from different data sources which can be the authors, users or any other participants. For example, a blog is typically composed of articles, comments and some media which are generated by the blogger, readers or other service providers such as YouTube and Flickr . In this laboratory, you will learn to integrate various contents and software tools into your website to realize the functionalities of a video surveillance system. II. Installing and Testing Webcam There are two types of webcam drivers in Ubuntu. Many webcams will just work fine with these drivers but you should know their difference. The first type is USB video device class (UVC) driver. This specification defines USB streaming video protocol and allows for interconnectivity of webcams to computers even without proprietary drivers installed. Recent distributions of Microsoft Windows Vista, Linux and Mac OS X have UVC drivers built in and do not require extra drivers, although they are often installed in order to add additional features. Another type is Non-UVC drivers which do not adhere to the UVC standard but instead use a vendor-specific protocol which is not open to public. As a result, these
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
By Van TING, Dec 2009 2 drivers are developed based on reverse-engineered information and distributed by their authors as is. (a) (b) Logitech QuickCam Messenger (a) old version and (b) new version 01. Get a webcam from your lab technician and plug into your EeeBox. Enter the following commands: lsusb lsmod | grep quickcam 02. You should obtain similar outputs as shown above. Note that if you are using different webcam from mine (see the product ID), your device may use different driver module that not necessary be the quickcam_messenger . For instance, the new Logitech QuickCam Messenger uses different hardware which is driven by another driver called spca . 03. Check the device file system which your webcam attaches to. Use the command below to list all attached video devices. If you get more than one video devices,
Image of page 2
By Van TING, Dec 2009 3 you may need to inspect the kernel message or disconnect/reconnect your webcam to find out the new appearance belonging to your webcam.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern