Top Banner
37

Using Video Analysis and Tracking and Managing Resources

Apr 30, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using Video Analysis and Tracking and Managing Resources
Page 2: Using Video Analysis and Tracking and Managing Resources

Using Video Analysis and Ad-hoc Wireless Connection Technologies to

Detect Specific Objects for Tracking and Managing Resources

Turning Videos into LBS

LSCM LBS Forum October 20, 2015

Dorbin Ng, PhD

Department of Systems Engineering and Engineering Management The Chinese University of Hong Kong

Page 3: Using Video Analysis and Tracking and Managing Resources

3

LBS for Timely Resource Management

Otherwise… Shortages

Bottlenecks

Cascading Delays

Service Disruptions

Resources E.g., staff & equipment

Supporting consumption for facilitating operations

Timely replenishment for ensuring seamless operations

Knowing the shortages Triggering timely actions

Page 4: Using Video Analysis and Tracking and Managing Resources

Equipment in Hospital

4

Will wheelchairs or stretchers be available when needed for patient care?

Page 5: Using Video Analysis and Tracking and Managing Resources

Trolleys in Airport

5

Looking for trolleys?

Replenishing trolleys in timely manner?

Page 6: Using Video Analysis and Tracking and Managing Resources

Stroller Services in Malls & Airports

6

Are they available when needed?

Page 7: Using Video Analysis and Tracking and Managing Resources

What are the Possible LBS Solutions for Tracking & Managing Resources?

7

RF Solutions?

Tagging all items?

Reader network infrastructure?

Maintenance cost?

Setup cost?

Visual/image solutions?

Setup cost?

Identification?

Camera network infrastructure?

Maintenance cost?

Robotic solutions? Proximity solutions? … Multi-modal solutions? What would be the right mix of modals? …

Page 8: Using Video Analysis and Tracking and Managing Resources

Video Analytics for Resource Tracking & Management

Camera/CCTV Infrastructure

Enabling Technologies Real-time

Notifications

Turning Videos into Tracking Data & Actionable Intelligence

Resource Analytics

8

Page 9: Using Video Analysis and Tracking and Managing Resources

Video Sensing Management & Analytics Architecture Framework

9

Video Sensing Management & Analytics Architecture Framework

Video Stream

Feature Extraction

Object Detection

Object Learning Module

Sensor Devices

Alert Management

Monitoring Visualization

Resource Visualization

Content Analysis

Application & Presentation

Video & Sensor Input Sources

Event Detection for Alert Notification

Object & Event Monitoring

Management Module Analytics Module

Resource Modeling & Management

Monitoring Modeling & Management

Monitoring & Management

Platform

Making use of computation power, machine learning, image processing, & system engineering

Providing monitoring & counting capability for resource management

Page 10: Using Video Analysis and Tracking and Managing Resources

Image Feature Extraction: Motivation

A subjective decision on defining similar images

Different people interpret similarity differently

Even the same person interprets similarity differently in different situations

Difficulties on searching similar images

Choosing features to represent images

Color, texture, shape, object, semantics, …

Accessing images from the defined, extracted features

High dimensional feature vectors with continuous values

Efficiency in finding similar feature vectors in a high dimensional space

Enabling multi-mode search on multimedia data 10

Image Features

Page 11: Using Video Analysis and Tracking and Managing Resources

Images Containing Similar Colors

11

Page 12: Using Video Analysis and Tracking and Managing Resources

Images Containing Similar Shapes

12

Page 13: Using Video Analysis and Tracking and Managing Resources

Images Containing Similar Content Soccer game

Mountains as prominent scenery

13

Page 14: Using Video Analysis and Tracking and Managing Resources

Challenges in Image Similarity

14

• Similar color distribution

• Similar texture pattern

• Similar shape/pattern

• Similar real content

Deg

ree

of

dif

ficu

lty

Histogram matching

Texture analysis

Edge, contour analysis

Life-time goal :-)

• Similar object Image Segmentation, Pattern recognition

Page 15: Using Video Analysis and Tracking and Managing Resources

Image Feature Extraction Techniques

Color histogram

Histo144 image feature extraction

Relying only on color information

Color and texture histograms

MCP image feature extraction

Combining texture and color information

Color coding

Cuebik image feature extraction

Coding a color to each of the pre-defined image region

More features available via OpenCV APIs

http://docs.opencv.org/modules/refman.html

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.

15

Page 16: Using Video Analysis and Tracking and Managing Resources

Color Histogram: Histo144

Dividing an image into 3x3 regions

Possible to have 5x5, 7x7, … regions

For each region, calculating a 16-bin color histogram using

Munsell Color Space

Which uses hue, chroma, and value instead of red, blue, and green

In which close colors are perceptually similar.

Combining all regions’ color histograms to form

A 144-dimensional feature vector

i.e., 144 doubles representing an image

Reducing the dimension to 50 by a Single Value Decomposition (SVD) matrix, trained by corpus-specific images 16

Page 17: Using Video Analysis and Tracking and Managing Resources

Histo144 Feature Extraction Results

17

Page 18: Using Video Analysis and Tracking and Managing Resources

Texture & Edge Detections

18

Page 19: Using Video Analysis and Tracking and Managing Resources

19

Slide from http://images.slideplayer.com/14/4246341/slides/slide_4.jpg

Page 20: Using Video Analysis and Tracking and Managing Resources

Object Detection: Motivation

Human perceives objects (e.g., faces, trolleys) easily

But mysteriously in terms of how it is being done

Many different object types exist in environment

Groups of people, vehicles, chairs, etc.

Objects in each object type may have variations but have common features.

Automated object detection can be useful in

Supporting image retrieval

Labeling and categorizing images

Enhancing photography for automatically focusing, color balancing, and zooming on a specific object

Building systems for automatic object identification

Counting number of objects for management and decision making purposes

20

Object Detection & Machine Learning

Page 21: Using Video Analysis and Tracking and Managing Resources

Challenges in Object Detection

Amount of variation in visual appearance Color, texture, contour, shape, etc.

Orientation and rotation with respect to the camera

Distance from the camera

Variation in surrounding environment Light sources

Varying intensity, color, and location with respect to the object

Nearby objects Casting shadows on the object

Reflecting additional light on the object

21

Page 22: Using Video Analysis and Tracking and Managing Resources

Object Detection Techniques

A two-part strategy to cope with all this variation

View-based approach

Multiple detectors to deal with variation in orientation

Statistical modeling

Within each detector to account for the remaining variation

22

Page 23: Using Video Analysis and Tracking and Managing Resources

View-based Detectors

Independent development of individual detectors

Each detector specialized to

A specific orientation of the object; e.g.:

Specialized to the different rotating views of objects

A specific size within a rectangular image window

Operation

Re-applying detectors for all possible positions

Re-applying detectors for all resized images

Combining individual detectors’ results

Choosing the strongest detection if multiple detections happening at the same or adjacent locations

23

Page 24: Using Video Analysis and Tracking and Managing Resources

Statistical Form of Detector

Two statistical distributions are modeled within each view-based detector:

The statistics of the given object is modeled as P(image | object)

The statistics of the rest of the visual world, called “nonobject” class, is modeled as P(image | nonobject)

Detection decision using the likelihood ratio test

If the likelihood ratio (the left side) is greater than the right side, the object is decided to be present

24

P( image | object ) >

P( nonobject )

P( image | nonobject ) P( object )

Page 25: Using Video Analysis and Tracking and Managing Resources

Learn

Detect

Training Object Detectors via Machine Learning Techniques

25

Training Image Data

Testing Image Data

New Image Data

Machine Learning

Feature Extraction

Object Detector

Result Evaluation

Trained Object

Detector

Detected Objects

Feature Extraction

Feature Extraction

Page 26: Using Video Analysis and Tracking and Managing Resources

Support Vector Machine (SVM) A supervised learning technique to define a discriminative

classifier by a separate hyperplane

Given a set of labeled data, SVM yielding an optimal hyperplane, which is able to categorize new examples

26

Multiple green lines offer a solution to separate 2 groups of objects. Is any of them better than the others?

SVM gives the largest minimum distance to the training data by having the optimal separating hyperplane maximizing the margin of the training data.

Graphics from http://docs.opencv.org/doc/tutorials/ml/introduction_to_svm/introduction_to_svm.html

Page 27: Using Video Analysis and Tracking and Managing Resources

Trolley Detection

27

Transform Detect

Filter Transform

Input

Page 28: Using Video Analysis and Tracking and Managing Resources

Real-time Notification for Trolley Shortage

28

Image processing Feature extraction Feature grouping

Machine learning Feature selection Ensemble methods

Difficulties Different viewing

angles, sizes, orientations, & lighting conditions

Leveraging on Large quantity of

same type of rigid objects

Pilot Project: Trolley Management at HKIA

Page 29: Using Video Analysis and Tracking and Managing Resources

18 Trolley Stations in HKIA Baggage Reclaim Hall

2 3 4 5 9 8 7 6 10 11 12 13

Custom Hall

Immigration

Trolley pick up point

5.2B

5.2A

5.4A

5.4B 5.5B

5.5A

5.6B

5.6A

5.8B

5.7A 5.7B

5.8A

5.9B

5.9A

5.10B

5.10A 5.12A

5.12B

Trolley Stations in HKIA Baggage Reclaim Hall

29

About another 100 trolley stations in airside Departure & Arrival Halls and at curbside outside Terminals 1 & 2

Which station(s) is out of trolleys? Or, having shortage? What is the efficient way to orchestrate limited staff resources to timely replenish trolleys to the right station(s)?

Page 30: Using Video Analysis and Tracking and Managing Resources

30

Trolley shortage

notification

Real-time Notification

via Mobile App

(iOS & Android)

Out of trolley notification

Notification history

Page 31: Using Video Analysis and Tracking and Managing Resources

31

1. Photo viewing for the particular message being selected in the “Message” screen

2. Photo view supporting zoom-in & zoom-out functions

1. Default view with a full photo fitting on the screen

Message

Page 32: Using Video Analysis and Tracking and Managing Resources

32

Performance

Hour-box view for each location

Chart view showing

details on performance

“Daily Record” & “History Record”

on following pages

Page 33: Using Video Analysis and Tracking and Managing Resources

33

Performance

1. “Daily Record” view with hourly timeline information for a selected date

2. Current date being the default selected date

Page 34: Using Video Analysis and Tracking and Managing Resources

34

Performance

1. Selecting date 2. Clicking “Add” to the date list 3. Repeating #1 & #2 for selecting

more dates 4. When done with selecting

date(s), clicking “Generate” to see a chart view

Chart view showing

details on performance

on selected date(s)

Clicking “Save” to capture the chart views to

an image file

Page 35: Using Video Analysis and Tracking and Managing Resources

35

Map

Select Location Menu Button

Page 36: Using Video Analysis and Tracking and Managing Resources

36

Oct 2 Fri

Oct 3 Sat

Oct 4 Sun

Oct 5 Mon

Oct 6 Tue

Oct 7 Wed

Oct 8 Thu

Typhoon Mujigae being within 400

km from HK

Normal day pattern

Flight schedule disruption 1

Flight schedule disruption 2

Flight schedule disruption 3

Flight schedule disruption 4

Normal day pattern being

resumed

An

alytics: Re

sou

rce M

on

itorin

g B

usin

ess In

tellige

nce

Page 37: Using Video Analysis and Tracking and Managing Resources

Acknowledgement

37

• Video Analytics for Resource Management

2015.09.22 – 2017.09.21, ITP/048/15LP, Prof. CH Cheng, Dr. Dorbin Ng, Mr. Tim Chan

Asian Institute of Supply Chains & Logistics, CUHK • Resources Management via Real-time RFID Tracking Data Analytics – A Case in the

Healthcare Industry 2014.01.01 – 2015.12.31, Prof. CH Cheng, Dr. Dorbin Ng

• Image-based Drug Verification for Risk Management in Drug Dispensing 2014.10.01 – 2016.09.30, Prof. CH Cheng, Dr. Dorbin Ng

http://www.se.cuhk.edu.hk/~ssi/