1. Trang chủ
  2. » Giáo án - Bài giảng

mobile image processing part2

24 209 0
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 24
Dung lượng 802,08 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Mobile image processing — Part 2 m “Viewfinder EE368” project =» Image processing library =» Mobile application examples... Mobile devices versus personal computers Feature Motor

Trang 1

Mobile image processing — Part 2

m “Viewfinder EE368” project

=» Image processing library

=» Mobile application examples

Trang 2

Google Goggles

Product recognition

http://www.google.com/mobile/goggles

Trang 3

How to download Google Goggles

m Open the Android Market application

m Search for “Google Goggles”

1 result for "google goggles"

mSG Google Goggles Installed

wits Google Inc wwww

Trang 4

Recognizing video at a glance Visual bookmarks for movies and TV shows

Trang 5

Recognizing video at a glance Visual bookmarks for movies and TV shows

http://msw3.stanford.edu/~dchen/EE368/Video-Search-Android.wmv

Trang 6

Mobile devices versus personal computers

Feature Motorola DROID Typical PC

Screen size 4.6 in x 2.4 in 25 in x 16 in Processor speed 550 MHz 3.0 GHz

Disk space 8 GB external flash 500 GB disk

Typically 3G _

Internet access WiFi at hotspots WiFi or wired Ethernet

Telephony Core feature Supplementary feature

Trang 7

“Viewfinder EE368” project

=» Goals of this project

e Learn how to access frames from the viewfinder

e Learn how to modify camera parameters

e Learn how to augment the viewfinder frames

Trang 8

Beginning the project

e Application Name: Viewfinder EE368

e Package Name: com.example.viewfinderee368

e Create Activity: ViewfinderEE368

Trang 9

Android manifest file (AndroidManifest.xml)

Trang 10

Handle incoming Augment viewfinder viewfinder frames frames with a new and adjust camera layer of information

Trang 11

Viewfinder class: full screen mode

Trang 12

Augment viewfinder frames with a new layer of information

on top

“SY Bernd Girod, David Chen: EE368 Mobile Image Processing — Part 2 no 12

Trang 13

Timeline of events on the mobile device

Preview (| Capture | Capture

Trang 14

Preview class: frames go down two paths

Display on phone screen

Forward to callback function

, Data in YCbCr 4:2:0 format

Trang 15

Preview class: set camera parameters

Preview (View)

Bernd Girod, David Chen: EE368 Mobile Image Processing — Part 2 no 15

Trang 17

DrawOnTop class: create a paint brush

mPaintBlack = new Paint();

Trang 18

DrawOnTop class: YCboCr to RGB

Trang 19

DrawOnTop class: draw histogram bars

Trang 20

Viewfinder EE368 demo

http://ee368.stanford.edu/Android/ViewfinderEE368

Trang 21

Real-time debugging using DDMS (1)

Open Perspective > % Debug

Show View > | 2 Java Browsing

Customize Perspective Other

Save Perspective As

Trang 22

Real-time debugging using DDMS (2)

Name Name Size Date Time Pern

g OSEH368929E3K Online (= data 2010-03-16 17:32 drwx

(& sdcard 2010-04-05 12:54 d -1 (& system 2010-04-05 12:52 drwx

Trang 23

Danger of unresponsiveness

=» Users notice delays longer than ~0.5 sec

=» Android only lets your program “hang” or “freeze” for ~5 sec

before bringing up warning dialog

A\ Sorry!

The process android.process

acore has stopped unexpectedly Please try again

Trang 24

Activity life cycle

Ngày đăng: 28/04/2014, 15:39

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN