Position Detection For a Camera Pen Using LLAH and Dot Patterns - - PowerPoint PPT Presentation

position detection for a camera pen using llah and dot
SMART_READER_LITE
LIVE PREVIEW

Position Detection For a Camera Pen Using LLAH and Dot Patterns - - PowerPoint PPT Presentation

Position Detection For a Camera Pen Using LLAH and Dot Patterns Matthias Sperber German Research Center for Artificial Intelligence Osaka Prefecture University Outline n Introduction n Locally Likely Arrangement Hashing n The Dot


slide-1
SLIDE 1

Position Detection For a Camera Pen Using LLAH and Dot Patterns

Matthias Sperber German Research Center for Artificial Intelligence Osaka Prefecture University

slide-2
SLIDE 2

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-3
SLIDE 3

Goal: Develop Digital Pen

n Paper documents

n Higher readability n Handwriting

applicable

n Digital documents

n Flexible organizing n Convenient editing n Searchable

slide-4
SLIDE 4

Goal: Develop Digital Pen

notes from class notes from class

n Example Use Case OCR handwriting recognition Full-text search for “class”

slide-5
SLIDE 5

Goal: Develop Digital Pen

n Capture Pen


Position

n Reconstruct


Handwriting

n Distinguish documents n Inexpensive n Portable n Require no special

paper

slide-6
SLIDE 6

Pen Tablet

+ Write using stylus or

  • rdinary pen & paper

+ Fairly inexpensive (no running 
 costs)

  • Not portable
  • Documents


not
 distinguished

slide-7
SLIDE 7

Ultrasonic Pen

+ Works on any writing surface + Inexpensive

  • Device must be

calibrated

  • Documents not

distinguished

slide-8
SLIDE 8

Anoto Pen

+ Can distinguish documents + Highly portable

  • Special paper must

be bought

  • Expensive (high

running costs)

  • Black dots rather

apparently visible

slide-9
SLIDE 9

Proposed Camera Pen

n Ordinary pen

equipped with cheap, low- resolution camera

n Yellow Dot

Pattern

n Print on

  • rdinary paper
slide-10
SLIDE 10

Proposed Camera Pen

Print yellow dots on paper

Print document foreground (or leave empty)

Write using camera pen Reconstruct handwriting

slide-11
SLIDE 11

Comparison of Technologies

Pen tablet Ultra- sonic Anoto Proposed pen Low Cost ü üü û ü Normal paper (ü) ü û ü Portable û (û) ü ü Distinguish documents û û ü ü

slide-12
SLIDE 12

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-13
SLIDE 13

Locally Likely Arrangement Hashing

n Retrieve document

images

n Feature points from

document foreground

n Retrieval by

matching individual points

n Determine position

Captured camera image

slide-14
SLIDE 14

Locally Likely Arrangement Hashing

Calculation of Indices LLAH Database Feature points for every document Feature points from partial document image # documents & dots affect accuracy! Storage Retrieval

slide-15
SLIDE 15

Calculation of Indices

n Local arrangements n Geometric invariant:


Area Ratio

P(A,C,D) P(A,B,C)

A B C D

slide-16
SLIDE 16

LLAH With Dot Patterns

No feature points!

è Print yellow dots in background

slide-17
SLIDE 17

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-18
SLIDE 18

The Dot Pattern

n Yellow

n Almost invisible to

human eye

n Can still be extracted

by computer

n Randomized n Start: Regular Grid n Gauss distribution n Bounding box

n Avoid “holes”

slide-19
SLIDE 19

The Dot Pattern

n Dot spacing: 2.7mm n Diameter: 0.2mm n (Anoto’s dot spacing: 0.3mm)

slide-20
SLIDE 20

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-21
SLIDE 21

Overview: Retrieval Steps

LLAH (Doc ID, Coordinates) Calculate pen position Feature points Camera image

slide-22
SLIDE 22

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-23
SLIDE 23

Dot Extraction

LLAH (Doc ID, Coordinates) Calculate pen position Feature points Camera image

slide-24
SLIDE 24

Dot Extraction

n Distance-Image è Adaptive Thresholding

n “Distance Image”: For each pixel, determine

how close its color is to the color yellow

slide-25
SLIDE 25

Dot Extraction

n Distance-Image è Adaptive Thresholding

slide-26
SLIDE 26

Dot Extraction

n Distance-Image è Adaptive Thresholding

slide-27
SLIDE 27

Dot Extraction

n Distance-Image è Adaptive Thresholding

slide-28
SLIDE 28

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-29
SLIDE 29

LLAH

LLAH (Doc ID, Coordinates) Calculate pen position Feature points Camera image

slide-30
SLIDE 30

Calculate Pen Position

LLAH (Doc ID, Coordinates) Calculate pen position Feature points Camera image

slide-31
SLIDE 31

Position Calculation

n Estimate geometric transformation n Reconstruct handwriting by drawing lines

between consecutively determined positions

slide-32
SLIDE 32

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-33
SLIDE 33

Examples & Results

Little foreground Much foreground No foreground

100 100.0% 94.0% 74.4% 1000 96.2% 80.4% 59.3%

DB size Retrieval accuracy (% of correctly determined positions) Bounding box

slide-34
SLIDE 34

Examples & Results

slide-35
SLIDE 35

Examples & Results

n Smaller document DB (100 docs)

slide-36
SLIDE 36

Examples & Results

n Larger document DB (1000 docs)

slide-37
SLIDE 37

Examples & Results

n Performance Measurements

n Intel Core CPU @ 2.13GHz, 3GB RAM

DB size 1 document 18.5ms 23.8ms 100 documents 22.0ms 30.6ms 1,000 documents 49.4ms 53.5ms

3.1× 2.3cm2 2.2 ×1.6cm2

Area of captured image

slide-38
SLIDE 38

Outline

n Introduction n Locally Likely Arrangement Hashing n The Dot Pattern n Overview: Retrieval Steps n Dot Extraction from the Camera Image n Position Calculation n Examples & Results n Outlook & Conclusion

slide-39
SLIDE 39

Outlook

n Problem: yellow dots


hidden by too much
 document foreground

(using large Document DB)

slide-40
SLIDE 40

Outlook

n Problem: yellow dots


hidden by too much
 document foreground

n Solution: Use feature points from both

background (yellow dots) and foreground (characters)

slide-41
SLIDE 41

Outlook

n Combination of techniques:

n Proposed method to establish absolute

position and current document

n Tracking method to measure relative

movement and reconstruct handwriting

slide-42
SLIDE 42

Conclusion

n Low-cost camera pen

n Used cheap USB camera n Yellow dots printable on ordinary hardware

n Support of 1,000+ documents n Reasonably fast retrieval speed n Future work:

n Make more stable when too much document

foreground: Incorporate features from foreground!

slide-43
SLIDE 43

Thank you for your attention