WebcamPaperPen: A Low-Cost Graphics Tablet

Similar documents
WebcamPaperPen: A Low-Cost Graphics Tablet

WebcamPaperPen: A Low-Cost Graphics Tablet

Online Signature Verification Technique

Optimization and least squares. Prof. Noah Snavely CS1114

Fundamental Matrices from Moving Objects Using Line Motion Barcodes

COMS W4735: Visual Interfaces To Computers. Final Project (Finger Mouse) Submitted by: Tarandeep Singh Uni: ts2379

Image processing and features

Edge and corner detection

Pattern Feature Detection for Camera Calibration Using Circular Sample

Discovering Computers Chapter 5 Input

Eye-blink Detection Using Gradient Orientations

Texture Sensitive Image Inpainting after Object Morphing

Introduction to Computer Vision

Discovering Computers Chapter 5 Input. CSA 111 College of Applied Studies UOB

IRIS SEGMENTATION OF NON-IDEAL IMAGES

Face Detection and Recognition in an Image Sequence using Eigenedginess

Edge detection. Goal: Identify sudden. an image. Ideal: artist s line drawing. object-level knowledge)

Production of Video Images by Computer Controlled Cameras and Its Application to TV Conference System

EECS150 - Digital Design Lecture 14 FIFO 2 and SIFT. Recap and Outline

CHAPTER 3 DISPARITY AND DEPTH MAP COMPUTATION

Robotics Programming Laboratory

Available online at ScienceDirect. Procedia Computer Science 59 (2015 )

Two-Dimensional Projectile Motion

On-line handwriting recognition using Chain Code representation

Indian Institute of Technology Kanpur District : Kanpur Team number: 2. Prof. A. K. Chaturvedi SANKET

CS5670: Computer Vision

3D Computer Vision. Structured Light II. Prof. Didier Stricker. Kaiserlautern University.

Computer and Machine Vision

Edge detection. Winter in Kraków photographed by Marcin Ryczek

Adobe Illustrator. Always NAME your project file. It should be specific to you and the project you are working on.

IMAGE PROCESSING >FILTERS AND EDGE DETECTION FOR COLOR IMAGES UTRECHT UNIVERSITY RONALD POPPE

Dynamic Stroke Information Analysis for Video-Based Handwritten Chinese Character Recognition

Computer Vision

CS 231A Computer Vision (Winter 2014) Problem Set 3

Structured Light II. Thanks to Ronen Gvili, Szymon Rusinkiewicz and Maks Ovsjanikov

Index C, D, E, F I, J

Mouse Pointer Tracking with Eyes

EE795: Computer Vision and Intelligent Systems

Object Recognition with Invariant Features

Edge detection. Winter in Kraków photographed by Marcin Ryczek

차세대지능형자동차를위한신호처리기술 정호기

CSE 527: Introduction to Computer Vision

Automatic Image Alignment (feature-based)

Calibrated Image Acquisition for Multi-view 3D Reconstruction

Image Comparison on the Base of a Combinatorial Matching Algorithm

Quick Start. Getting Started

Face Quality Assessment System in Video Sequences

EE368 Project: Visual Code Marker Detection

Cursor Control with Webcam-Based Head Pose Estimation

PA2 Introduction to Tracking. Connected Components. Moving Object Detection. Pixel Grouping. After Pixel Grouping 2/19/17. Any questions?

Broad field that includes low-level operations as well as complex high-level algorithms

Using Web Camera Technology to Monitor Steel Construction

Color Content Based Image Classification

Computer Graphics and Image Processing

Postprint.

COMPARATIVE STUDY OF DIFFERENT APPROACHES FOR EFFICIENT RECTIFICATION UNDER GENERAL MOTION

Lecture 10: Image Descriptors and Representation

PROJECTILE MOTION PURPOSE

Automatic Fatigue Detection System

An Interactive Technique for Robot Control by Using Image Processing Method

Scanner Parameter Estimation Using Bilevel Scans of Star Charts

CS534: Introduction to Computer Vision Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Eye tracking by image processing for helping disabled people. Alireza Rahimpour

A Background Subtraction Based Video Object Detecting and Tracking Method

Software User s Manual

Edge and Texture. CS 554 Computer Vision Pinar Duygulu Bilkent University

OPERATION MANUAL. IWB Setup Software/EyeRIS IX NEC edition

Fast Lighting Independent Background Subtraction

Gesture Recognition using Neural Networks

Progress Report of Final Year Project

The NAO Robot, a case of study Robotics Franchi Alessio Mauro

Image-Based Face Recognition using Global Features

Lecture 6: Edge Detection

Tutorial 8. Jun Xu, Teaching Asistant March 30, COMP4134 Biometrics Authentication

Face Tracking in Video

Segmentation and Tracking of Partial Planar Templates

GOPRO CAMERAS MATRIX AND DEPTH MAP IN COMPUTER VISION

A Cheap Portable Eye-Tracker Solution for Common Setups

Name. Center axis. Introduction to Conic Sections

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Edge detection. Convert a 2D image into a set of curves. Extracts salient features of the scene More compact than pixels

ME/CS 132: Introduction to Vision-based Robot Navigation! Low-level Image Processing" Larry Matthies"

Mouse Simulation Using Two Coloured Tapes

Adaptive Skin Color Classifier for Face Outline Models

Vision. OCR and OCV Application Guide OCR and OCV Application Guide 1/14

Designing Applications that See Lecture 7: Object Recognition

Business Products Quick Reference Bundle

CSE 252B: Computer Vision II

LipStick. User Manual

The Implementation of a Glove-Based User Interface

CS4670: Computer Vision Noah Snavely

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Using Edge Detection in Machine Vision Gauging Applications

Tyzx DeepSea High Speed Stereo Vision System

Using LoggerPro. Nothing is more terrible than to see ignorance in action. J. W. Goethe ( )

An Endoscope With 2 DOFs Steering of Coaxial Nd:YAG Laser Beam for Fetal Surgery [Yamanaka et al. 2010, IEEE trans on Mechatronics]

3D from Photographs: Automatic Matching of Images. Dr Francesco Banterle

Prof. Feng Liu. Winter /15/2019

Exploring Curve Fitting for Fingers in Egocentric Images

Pen Tool, Fill Layers, Color Range, Levels Adjustments, Magic Wand tool, and shadowing techniques

Transcription:

WebcamPaperPen: A Low-Cost Graphics Tablet Graduation Project Computer and Information Engineering Gustavo Thebit Pfeiffer Supervisor: Prof. Ricardo Guerra Marroquim, D.Sc. Examiners: Prof. Antonio Alberto Fernandes de Oliveira, D.Sc. Prof. Fernando Gil Vianna Resende Junior, Ph.D. LCG/COPPE/UFRJ

Outline: 1. Introducing WebcamPaperPen 2. Method and Development 3. Results 4. Conclusions and Future Work

1. Introducing WebcamPaperPen

Motivation Project Libera Akademio Video lectures to the masses Similar to Khan Academy But using a low bit-rate format Requires the graphics tablet Khan Academy video (http://www.youtube.com/watch?v=kpcjyq2usj4)

Motivation Project Libera Akademio Video lectures to the masses Similar to Khan Academy But using a low bit-rate format Requires the graphics tablet Khan Academy video (http://www.youtube.com/watch?v=kpcjyq2usj4) Device used to draw and handwrite Also controls the mouse cursor (http://en.wikipedia.org/wiki/file:wacom_ Bamboo_Capture_tablet_and_pen.jpg)

Project WebcamPaperPen Challenge: Replace the graphics tablet by webcam, paper and pen? (http://en.wikipedia.org/wiki/file:wacom_ Bamboo_Capture_tablet_and_pen.jpg) Dilemma: Cap shut X Cap open?

Why use the cap shut? Easier to track Users won't look at the paper, but at the monitor More applications If you can look at the paper, you need no online processing Less paper is consumed

Setup

How it works pen cap tip tracking shadow tip tracking

How it works projection

How it works rectification

Applications

Applications

Applications

User Interaction 1. Calibration Step 2. Drawing Step

User Interaction Mouse range window

User Interaction Normal mode Touchpad-like mode

User Interaction

Related Work LED, laser, infrared technology (PIAZZA, T., FJELD, M. Ortholumen: Using Light for Direct Tabletop Input. In: Horizontal Interactive HumanComputer Systems, 2007. TABLETOP 07. Second Annual IEEE International Workshop on, pp. 193 196, Oct. 2007.) (http://www.wiimoteproject.com/) (http://laserinteraction.codeplex.com/)

Related Work Pen tip tracking (MUNICH, M. E., PERONA, P. Visual Input for Pen-Based Computers, IEEE Trans. Pattern Anal. Mach. Intell., v. 24, n. 3, pp. 313 328, March 2002.) (YASUDA, K., MURAMATSU, D., SHIRATO, S., et al. Visual-based Online Signature Verification Using Features Extracted from Video J. Netw. Comput. Appl., v. 33, n. 3, pp. 333 341, May 2010.) Not used for mouse control Allow ink and make no use of the shadow

Related Work Body parts tracking (HAO, Z., LEI, Q. Vision-Based Interface: Using Face and Eye Blinking Tracking with Camera. In: Intelligent Information Technology Application, 2008. IITA 08. Second International Symposium on, v. 1, pp. 306 310, Dec. 2008.) (MANCHANDA, K., BING, B. Advanced mouse pointer control using trajectory-based gesture recognition. In: IEEE SoutheastCon 2010 (SoutheastCon), Proceedings of the, pp. 412 415, March 2010.) Inappropriate for handwriting and drawing

2. Method and Development Technologies Algorithms Calibration Drawing Pen Tracking Shadow Tracking Mouse Motion Mouse Click

Development Language: C++ Single-threaded implementation Libraries Windows version Mouse Control Webcam Support User Interface Linear Algebra Windows API ESCAPI Qt5 Linux version X11 OpenCV-HighGUI Qt4 Eigen

Method Calibration outliers inliers p(x,y) = Ax² + Bxy + Cy² +Dx + Ey + F 1. Search the paper, get mean intensity 2. fit intensity to a quadratic function 3. Compare pixelwise 4. Classify connected to fitted function components minimum 5. minimum intensity after blur 6. update using quadratic fit 7. Classify crosses

Method Pen Cap Tip Tracking 1. Apply blue filter and maximize 2y+x 2. Minimize sum (hor.) Maximize Sobel (ver.) f(x,y) = ax²+ bxy+cy²+ dx+ey+f 3. Search pixel that maximizes objective function 4. Subpixel estimation using quadratic fit

Method Shadow Tracking Hitting point calculation: h=(z^d)^(l^s) Assumption: l=(1,0,0) d=(0,1,0) Consequence: restrictions on camera rotation

Method Shadow Tracking #paper 70%of the line Occurrences per line -y Interpolation by sorting Threshold: 75% of paper intensity y y+1 Linear interpolation after gamma correction p(x,y) paper intensity p(x,y+1) y? y+1

Method Shadow Tracking Subpixel estimation step: example curve Not quite linear!

Method Mouse Motion Rectification (homography) four crosses' convex hull mouse range window Rounded off using hysteresis technique

Method - Conditions for Mouse Click h ignore pen area 1. Pen and shadow must be near each other high variance (σ/µ = H) low variance (σ/µ = L) 2. Variance must be high H σ/µ threshold L Adaptive Threshold and Hysteresis

3. Results

Problems in Using WebcamPaperPen Restrictions in illumination, webcam, etc. Serif effect:

Survey Number of participants: 30 persons 2 tried at home, 28 at a laboratory Most inexperienced with the graphics tablet Main problems reported: undesired click (47%) serif effect (40%) pen height limit too low (~1cm) way of holding the pen too restrictive

Comparisons with Graphics Tablet Pencil and Paper Graphics Tablet Our Method

Precision Detail Graphics Tablet Our Method

Quantitative Precision Measurement Asked a user to hold the pen still in some positions and poses Estimated σ using f(t) f(t-1) (http://en.wikipedia.org/wiki/accuracy_and_precision) Discarded values above 0.5, corresponding to 12.0% of the values for hor. pen tip 9.8% of the values for ver. pen tip 2.1% of the values for shadow tip Obtained σ=0.116 for hor. pen tip σ=0.103 for ver. pen tip σ=0.095 for shadow tip

4. Conclusions and Future Work

Conclusions Our system is low-cost practical easy to set up modestly precise Good for handwriting and simple drawings But not enough for more artistic purposes

Future Work Correcting problems reported by users Increase flexibility and stability Try something with the 3D position of the pen can be easily calculated using the shadow

(Text and presentation available soon at http://www.lcg.ufrj.br/members/gustavopfeiffer) Thank you for attending! Questions? Comments?