FutureStandard MAKERS

東京にある動画解析プラットフォーム「SCORER」の開発をしているスタートアップのブログです

SCORER Starter Kit Setup Guide3

In previous chapter, we established Wi-Fi connection with the Raspberry Pi and accessed SCORER Camera Control(SCC).

In this chapter, we will explain what each configuration offers in SCC and demonstrate how each radio button affects output of the web camera image.

1.Camera Image and Camera Type

When you access SCC using a web browser, you should see a screen like the screenshot below.

Make sure the USB web camera is attached to your Raspberry Pi.

f:id:FutureStandard:20170707120146p:plain

Camera Images

You will see an image with date and time on the top of SCC. The format of date and time in the image is “YEAR-MONTH-DATE HOUR:MINUTE:SECOND”. The image will update in few seconds. Refresh interval of image depends on resolution, detection method and complexity of image. The image will update when you alter configuration and camera properties.

Status & Turn ON/OFF Button

f:id:FutureStandard:20170707120321p:plainf:id:FutureStandard:20170707120325p:plain

  • Status : Status will show the current status of camera capture
  • Turn ON/OFF Button : Toggles the camera capture ON or OFF. When OFF (as indicated by “Status”), the image disappears from SCC
Camera Type

f:id:FutureStandard:20170707120455p:plain

  • USB/HVC: You can select a USB or HVC camera depends on type of camera you have attached to your Raspberry Pi 

Note: Since HVC camera is not included in your SCORER Starter Kit, please select ‘USB’ for now. We will discuss HVC camera in another article”.

2.Configuration

 In this section of SCC, there are 6 types of configuration you can manipulate. They are: Detection Method, Audio, Recording, Streaming, Video Flipping, and Resolution. Also, there are two buttons you can click : ‘Apply Now‘ and ‘Reload Current Configuration‘

f:id:FutureStandard:20170707120604p:plain

--Apply Now & Reload Current Configuration--

As the names suggest, those two buttons can apply configuration changes and reload current configuration.

f:id:FutureStandard:20170707120803p:plain

  • Apply Now : Apply all changes you have made in configuration section and it will take effect immediately
  • Reload Current Configuration : You can undo all the changes you made in configuration section. Note, you cannot undo this operation

--Detection Method--

You can choose 5 different detection methods. We are planning to present detailed demonstration of these detection methods.

f:id:FutureStandard:20170707121014p:plain

  • Face Detection : Detects facial expression and eye movement
  • Motion Tracking : Detects movement of head and shoulders
  • Car Tracking : Detects rear of a car 
  • QR Tracking : Detects QR Code
  • AR Tracking : Detects AR Code. Currently our system only detects AR code compliant with the ArUco librarly
  • None : Choose ‘None’ if you don’t want any detection from the camera

--Audio--

You can turn on/off microphone of your camera.

f:id:FutureStandard:20170707121119p:plain

  • Audio Capturing : Choose ‘ON’ to add sound to the recorded video(mp4 file). When you pick ‘ON’, the Audio Device menu will appear at right below the Audio section

 

--Audio Device--

Select audio device that you want to use and recording sampling rate.

f:id:FutureStandard:20170707121352p:plain

  • Audio Device : Choose audio device from pulldown menu
  • Sampling Rate : Choose sampling rate from pulldown menu. Range and number of values vary from camera to camera

 

--Recording--

This configuration controls whether you want to upload your snapshot and/or video to the cloud storage.  You can access the uploaded data at SCORER Management Console.  This will be explained more in the next chapter.

f:id:FutureStandard:20170707121453p:plain

  • Snapshot : The system periodically saves snapshots to the cloud storage when its ”On”
  • Video : The system saves a movie with 10 minutes span to cloud storage when its ”On”

 

--Streaming--

This configuration is used if you wish to broadcast live video through video-sharing service such as YouTube.

f:id:FutureStandard:20170707121610p:plain

  • Periodic Camera Image : Turn it “On” to let images automatically get uploaded to the cloud storage
  • Video Streaming : When you select ‘ON’,  the Live Stream Method menu appears right below Audio section

f:id:FutureStandard:20170707121703p:plain

--Live Stream Method--

You can choose live video streaming methods from RTSP, RTMP, and RTP.  You can obtain information use in video-sharing service on the right side of Live Stream Method section.

 

--Video Flipping--

You can reverse and/or rotate the image.

  • None : Select ‘None’ if you don’t want to do any flipping or rotating the image

f:id:FutureStandard:20170707121826p:plain

  • Rotate-180 : Rotate the image 180°. This flipping can be used when you have mounted your camera on ceiling

f:id:FutureStandard:20170707122035p:plain

  • Clockwise : Rotate the image 90°clockwise

f:id:FutureStandard:20170707122117p:plain

  • Counterclockwise :  Rotate the image 90°counter-clockwise

f:id:FutureStandard:20170707122149p:plain

  • Horizontal-flip :  Mirror-reverse the image in horizontal direction

f:id:FutureStandard:20170707122219p:plain

  • Vertical-flip : Mirror-reverse the image in vertical direction

f:id:FutureStandard:20170707122251p:plain

  • Upper-left-diagonal : Rotate the image 90°counter-clockwise then flip upside-down

f:id:FutureStandard:20170707122517p:plain

  • Upper-right-diagonal : Rotate the image 90°clockwise then flip upside-down

f:id:FutureStandard:20170707122550p:plain

--Resolution--

You can select resolution of the image. The default value of resolution depends on specification of your camera.

  •  HD(1280x720) : You can’t select HD and Face Detection at same time. If you do this you will see the warning message as below

f:id:FutureStandard:20170707122729p:plain

If you have selected other than ‘Face Detection’ or ‘None’ in the Detection Method section and chose ‘HD’, you will receive a message window as below.

 !!!Note!!! This combination of configuration will give the Raspberry Pi a heavy load that could slow down detection process.

f:id:FutureStandard:20170707122747p:plain

 

f:id:FutureStandard:20170707122832p:plain

 

f:id:FutureStandard:20170707123000p:plain

Camera Properties

In this section you can control brightness, contrast, saturation, gamma, hue, and sharpness.  The default value, minimum/maximum value will vary from camera to camera.  You can change those numbers by dragging the scroll bar or entering the value directly in the text box.   Altering the property value will immediately reflect changes to the image.

f:id:FutureStandard:20170707123105p:plain

Here are sample outcomes of image with minimum/maximum values of camera properties. Left image was set to minimum while right image was set to maximum value. For this demonstration, we use Buffalo BSWHD06M camera, which is included in SCORER Starter Kit.

  • BRIGHTNESS : Adjusting overall image brightness

f:id:FutureStandard:20170707123249p:plainf:id:FutureStandard:20170707123252p:plain

  • CONTRAST : Set brightness tone of the image

f:id:FutureStandard:20170707123619p:plainf:id:FutureStandard:20170707123622p:plain

  • SATURATION :  Changes the brilliance and intensity of a color

f:id:FutureStandard:20170707123755p:plainf:id:FutureStandard:20170707123758p:plain

  • GAMMA :  Changes image’s contrast and brightness

f:id:FutureStandard:20170707123833p:plainf:id:FutureStandard:20170707123837p:plain

  • HUE :  In terms of skin tones, the minus side increases reddishness, while the plus side enhances yellow tones

f:id:FutureStandard:20170707123943p:plainf:id:FutureStandard:20170707123949p:plain

  • SHARPNESS : Change the strength of subject’s outline

f:id:FutureStandard:20170707124030p:plainf:id:FutureStandard:20170707124037p:plain

--SAVE & Set Auto--

You can save the current property values. Also, you can reset current property values and set camera’s default value.

f:id:FutureStandard:20170707124142p:plain

  • Save : Saves current property values. When you restart the Raspberry Pi, saved property value will be set
  • Set Auto : Reset current property value and set camera’s default value. When you click this button, a message window as below will be shown on the screen. Reboot the Raspberry Pi and click ‘OK’ to continue

f:id:FutureStandard:20170707124234p:plain

4.Recent Activities

When turn on your Raspberry Pi, you will see the the output logs in this section of SCC. A line of messages will be added roughly every minute.

f:id:FutureStandard:20170707124313p:plain

That’s all for the SCORER Camera Control instruction.

 In the next chapter, we will explain how to register your Raspberry Pi with the Scorer Management Console(SMC) and demonstrate downloading movies/snapshots/logs from the SMC.