Download Print this page

Advertisement

Quick Links

Company confidential proprietary information. Do not distribute.
S
1. Introduction
1.1. Overview of v2 SenseCam
SenseCam is a small digital camera that is designed to take photographs automatically
without user intervention. Unlike a regular digital camera or a cameraphone, it does not
have a view finder or a display that can be used to frame photos. Instead, it is fitted with a
wide-angle (fish-eye) lens that maximises its field-of-view. This in turn means that nearly
everything in front of the camera is captured. In addition to the camera functionality, a
number of different sensors are built into the v2 SenseCam. These include a light intensity
and colour sensor, a passive infrared (body heat) detector, a temperature sensor and a tri-
axis accelerometer. These sensors are monitored by the camera‟s microcontroller, and
changes in sensor readings can be used to automatically trigger the camera shutter. For
example, a significant change in light level, or the detection of body heat in front of the
camera can be used as triggers. Additionally, an internal timer may be used to trigger the
shutter, for example causing an image to be captured automatically every 30 seconds. The
maximum possible rate is an average of around one photo every 5 seconds, i.e. 12 photos
per minute. SenseCam also has a manual trigger button that lets the wearer take pictures in
the more traditional fashion, albeit without the use of a viewfinder.
The VGA resolution images are stored as compressed .JPG files on an internal flash
memory card (currently 1Gbyte cards are fitted). The typical image size (around 30k bytes)
allows for over 30 thousand images to be stored in the camera. In addition to image data, the
memory card is used to store a log file, which records the sensor data each time the sensors
are read (every few seconds). The log file also records the reason for taking each photograph
(e.g. manual shutter press, timed capture or significant change in sensor readings). The log
file is in a comma-separated value format suitable for importing directly into Microsoft
1
Excel
and many other data manipulation tools. The SenseCam has a built-in real time clock
that ensures the timestamps of all files on the storage card are accurate. Timestamp
information is also recorded in the log file along with each entry.
1
Note that Excel 2003 has a 32k row limit which can be exceeded by large sensor files.
SenseCam v2.3 User Guide
© 2009 Microsoft Corporation, all rights reserved.
C
2.3
ENSE
AM V
Steve Hodges
James Srinivasan
Alex Butler
Matthew Lee
Gavin Smyth
James Scott
Alban Rrustemi
Microsoft Research Cambridge
Page 1 of 31
U
G
B
SER
UIDE
10/03/2009

Advertisement

loading
Need help?

Need help?

Do you have a question about the SENSECAM V2.3B and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microsoft SENSECAM V2.3B

  • Page 1 (every few seconds). The log file also records the reason for taking each photograph (e.g. manual shutter press, timed capture or significant change in sensor readings). The log file is in a comma-separated value format suitable for importing directly into Microsoft Excel and many other data manipulation tools.
  • Page 2 Please note the terms and conditions of the Microsoft Limited Licence Agreement associated with the use of the SenseCam hardware and software. This agreement has to be signed by all SenseCam recipients external to Microsoft before they are supplied with the SenseCam hardware and MSRC Viewer/Importer Software.
  • Page 3 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 2. SenseCam quick-start guide Green 2.1. Turning the camera on and off „power‟ On/off The SenseCam is turned on and off using the light button small round button on the top of the unit. A...
  • Page 4 .JPG image files in various folders on the camera) directly from Windows, and to load the sensor data into Microsoft Excel. However, it is recommended to use the SenseCam Image Viewer software supplied to move the images from the SenseCam onto the PC because this software performs additional operations, such as tagging files and synchronising the SenseCam real-time clock.
  • Page 5 © 2009 Microsoft Corporation, all rights reserved. 3. MSRC SenseCam PC viewer software The SenseCam is supplied with PC software that has been developed by Microsoft Research Cambridge. This software comprises two main applications: (1) the SenseCam Image Importer, which can be used to transfer images and sensor data from the SenseCam to the PC;...
  • Page 6 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Figure 3: When installing the SenseCam Image Viewer software it‟s easiest to use all the default options and just click the „Next‟ button on each of the dialog boxes.
  • Page 7 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. It is possible to tell Windows to automatically use SenseCam Import every time a device containing images is connected to your PC (check the „Always do the selected action‟ box).
  • Page 8 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. The wide-angle (or „fish-eye‟) lens fitted to SenseCam introduces distortion to the image – lines which are straight in the real world will tend to be captured as curved lines. Clicking on the „Undistort‟...
  • Page 9 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Figure 6: The SenseCam viewer application in Simple Mode which hides editing functions. With long sequences of images, it can be useful to associate „Bookmarks‟ with certain images.
  • Page 10 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. sorted by bookmark name, or by the position of the bookmark within the image sequence (i.e. by time). Bookmarks can be permanently deleted using the „Remove‟ button. The entire list of bookmarks can be temporarily hidden with the „Hide Bookmarks‟...
  • Page 11 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. more than one camera was worn by one person (e.g. one facing forwards and one facing back.) Make Movie: This is a prototype feature to convert a SenseCam image sequence into a self- contained movie file.
  • Page 12 3.6. SenseCam Viewer configuration file Several aspects of the SenseCam Viewer operation may be controlled by altering the XML format configuration file in the install directory (by default <program files>\Microsoft Research Ltd\SenseCam). Do be careful when editing this file: if the viewer application cannot read it, it will not start.
  • Page 13 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. <add key="Viewer.FastInterval" value="40" /> These give the target time delay between images in milliseconds for "slow" and "fast" forward/backward buttons. Note that the fastest speed will be whatever your PC can manage, so it can max out before getting down to your chosen speed.
  • Page 14 3.8. SenseCamFileCopier One of the files in the install directory of the SenseCam Image Viewer (C:\Program Files\Microsoft Research Ltd\SenseCam Import by default) is SenseCamFileCopier.exe. This executable is responsible for the file import process described in Section 3.2. During the course of data import to the PC, SenseCamFileCopier.exe is run from within the root directory of the SenseCam (e.g., E:\).
  • Page 15 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 4. SenseCam operation in more detail 4.1. SenseCam configuration Various aspects of SenseCam operation are configurable at the time of camera production. These configuration options are stored in non-volatile EEPROM memory in the SenseCam microcontroller.
  • Page 16 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 4.3. Interpreting the lights on the SenseCam There are three lights (LEDs) on the top of the Green Yellow „power‟ SenseCam that can be used to determine the status „busy‟...
  • Page 17 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Red/green „charging‟ and „do not disturb‟ LED poor battery capacity LED status Meaning No charger or PC connected, do- Figure 12: Summary of the meaning of the green „power‟...
  • Page 18 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 5. Tighten the lens using the set screw and allen key. Take care not to over-tighten; this might result in permanent damage to the camera. Steps 2, 5 and 6 above may also be used to fine-tune the focus of the SenseCam with the lens as supplied.
  • Page 19 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. this), then resume charging if required (and this time the red/green „charging‟ LED will be operational. If the SenseCam is run until it powers itself off, and then left for several weeks without re- charging, the real-time clock may be reset to 0:00:00 on 1/1/2000.
  • Page 20 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. If for some reason the camera appears to have stopped working at any time, as a last resort it may be necessary to switch the power off completely as described above, wait ten seconds, and then power it back on again.
  • Page 21 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 5. SenseCam file formats 5.1. Volume label The SenseCam volume label will be of the form “MSRC_SC xxx” where xxx is the serial number of the particular camera. If the volume label is changed manually it will be reset when the SenseCam next boots up (following a hard power cycle or a USB disconnect), unless the volume label is deleted (in which case no new volume label will be created).
  • Page 22 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. With sensor readings, the 3-letter sensor code is followed by the time that the reading was taken in hours (24 hour clock), minutes and seconds, and then followed by the value of the reading.
  • Page 23 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Sensor/meaning Interpretation Accelerometer Raw x, y and z acceleration values in 1/819ths of a g with a constant 2048 offset The sensed value for „white‟ light...
  • Page 24 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Summary: Specify period for timer based snapshots Syntax: gap <time-interval> Description: The gap command can be used to very roughly specify interval delay between successive snapshots for timer-based image capture. <timer- interval>...
  • Page 25 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Examples: trig 0x1F02 ; manual, timer-based, sense-driven camera (default) trig 0x0100 ; manual digital capture only trig 0x0200 ; timer-based capture only trig 0x0300 ; manual and timer-based capture only trig 0x1C02 ;...
  • Page 26 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. The TIME.CSV file can contain up to two lines, one for setting the time of day and the other for setting the date. The format for these two lines is the same as the tim and dat BOOT.BAT commands (either spaces or commas can be used as parameter delimiters).
  • Page 27 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. config0 byte [eewrite address 8] default factory-programmed value: 0x1F Control Description Fast charge Turn off fast charging. bitmask 0x01 Turn on fast charging. See Section 4.8 for more details on this.
  • Page 28 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. Config1 byte [eewrite address 9] default factory-programmed value: 0xFF Control Description Camera power Turn off camera power saving. The internal camera saving sensor is not turned off after each image capture. This may be marginally faster.
  • Page 29: Hardware Components

    Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 6. SenseCam hardware details 6.1. Hardware components The SenseCam is built around a PIC 18F8722 6 MIPS microcontroller with 128KB of flash memory, 4KB RAM, copious general purpose I/O (GPIO) lines and several on-chip peripherals including PWM, UART, I C and SPI.
  • Page 30: Expansion Connector

    Using signals exposed via the expansion connector requires detailed knowledge of the SenseCam hardware coupled with customised firmware and is therefore beyond the scope of this document. At the time of writing, Microsoft has not shared this information with any 3 parties. SenseCam v2.3 User Guide...
  • Page 31 Company confidential proprietary information. Do not distribute. © 2009 Microsoft Corporation, all rights reserved. 6.3. More information More information about the design rationales behind the SenseCam is given in “SenseCam: A Retrospective Memory Aid”, Steve Hodges, Lyndsay Williams, Emma Berry, Shahram Izadi, James Srinivasan, Alex Butler, Gavin Smyth, Narinder Kapur and Ken Wood, in P.