虛擬現(xiàn)實(shí)與增強(qiáng)現(xiàn)實(shí)理論與實(shí)踐 課件 第8章 AR系列教程-Vuforia入門(mén)_第1頁(yè)
虛擬現(xiàn)實(shí)與增強(qiáng)現(xiàn)實(shí)理論與實(shí)踐 課件 第8章 AR系列教程-Vuforia入門(mén)_第2頁(yè)
虛擬現(xiàn)實(shí)與增強(qiáng)現(xiàn)實(shí)理論與實(shí)踐 課件 第8章 AR系列教程-Vuforia入門(mén)_第3頁(yè)
虛擬現(xiàn)實(shí)與增強(qiáng)現(xiàn)實(shí)理論與實(shí)踐 課件 第8章 AR系列教程-Vuforia入門(mén)_第4頁(yè)
虛擬現(xiàn)實(shí)與增強(qiáng)現(xiàn)實(shí)理論與實(shí)踐 課件 第8章 AR系列教程-Vuforia入門(mén)_第5頁(yè)
已閱讀5頁(yè),還剩18頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

AR系列教程-Vuforia入門(mén)sOhoosewh吐UnitycomponentsyoUJwalilt如downloadand

install,令口

Docume而汕

Cl)n口

醞ros忒

Viswal

St

wdio

Commrwn

ity

17口扣droid

Bu

ild

Support口iOSBuildS1..1pport

口tvOSBuildSupport口

LinuxBuildSupport口MacBwildSupport

(MCl)no)口

UWPBw11dSwpport(.NEDescMpt1onPosition

_you「mouseove「

acomponenttoseeits

descriptionre!J七L

til!lilcl

Sl!lp,p,ort口Windows8U1ildSl!lpport

(IL2CPP)口

Fa岱

book

Gameroom

Bl!lild

Support

Installspace

required:128.3MBUnity2018.2.0f2Download

Assistant<

Ba改

[Next

> J

ICancelAR是什么增強(qiáng)現(xiàn)實(shí)技術(shù)(Augmented

Reality,簡(jiǎn)稱(chēng)

AR)是指把現(xiàn)實(shí)世界中某一區(qū)域原本不存在的信息,基于某種媒介并經(jīng)過(guò)仿真后再疊加到真實(shí)世界,被人類(lèi)感官所感知的技術(shù)。目前通用的定義包括以下三方面的內(nèi)容:將虛擬物與現(xiàn)實(shí)結(jié)合即時(shí)互動(dòng)三維AR技術(shù)原理簡(jiǎn)介Unity兼容的主流AR

SDKVuforia功能列表適合的學(xué)習(xí)人群1.有一定的Unity基礎(chǔ)的同學(xué);2.對(duì)AR技術(shù)感興趣的初學(xué)者;創(chuàng)建項(xiàng)目創(chuàng)建GameObject->Vuforia->AR

CameraFile->BuildSettings->playersettings->XR

Settings(VuforiaAR)選擇游戲?qū)ο驛R

Camera, Open VuforiaConfiguration在官網(wǎng)注冊(cè)密匙developer.vuforiaDirectionalLighlARCame

raCreateEm

ptyCrea

t

e

Em

pty

C

hi

l

d3D

O

b

je

ct2DO

b

je

ctWindow

H叩Ctr

l

+

S

h

ift

+

NAlt+S

hift+

N1

'.

勹立

一t

立血EffectsLightAu

d

ioVid

eo!JI四Ca

me

raCenterOn

ChildrenMakeParentClearParentApplyChangesTo

PrefabBreakPrefabInstanceSet

as

rstsiblingSetaslast

siblingMoveTo

ViewAlignWith

ViewAlignViewto

SelectedToggleActive

StateCtrl+=Ctrl+-Ctrl+Alt+FCtrl+Shift+

FI

m

a

g

eM

u

lt

i

Im

a

g

eCylin

d

ri

ca

lI

ma

geCl

ou

d

Im

a

g

eCa

m

e

ra

Ima

g

eModelTarget3DSca

nVu

M

a

rkG

ro

u

n

d

Pl

a

n

eSe,-vrces PSVit

aCompress

ionMethod色巨D(zhuǎn)Ta

,-getPlatformAi-ch,tectu

,-eCopyPDBfil

esCreateVisualS

tudioSolution

0DevelopmentBuildAutoconnectPrnfrle,-ScnptDebuggingScnptsOnly

Burld093CompanyNameProduct

NameDefault

IconDefault

C

u

rso

r[AddOpenScenes

]Cu1°s

o1°

Hot

s

po

t"" PC,Mac

&LinuxStanda

loneDefaultCompany20220323易一SettingsforPC,Mac&LinuxStanda

loneIconResolutionand

PresentationSplash

Image廣]Other

Setting?XR

SettingsV11iualRealitySuppo代ed

DIVufonaAugmentedReal

rt360Ster·eoCapt

ur

e 0··IARCamer·

aIOStatic

TI

_.,Tag

[

Untagged 令jLayerI

Default今

1

'I'..--.Transfor

m回4

眾.''Z

0Rotation

X阿二丫

0Position X匠二

YOl!

:'X

',Scale

1-Y

1

—.—z

Z

1CameraClea,·Flag

sBackgrnundCullingMa

sk[Solid

Color!fE戲1yt

h1ng包巠_p_ec,t

v

eProje如onFieldofViewPh

ys

i

ca

l

CameraClip

ping

Pl

ane

sDepthRende,-ingPathTa,-g

et

Te

xtu,

-eOcclu,sonCullingAllo"'

HDRAllow

MSAA1忙五G,a

phics

Se

tt

ings

lNone(Rend,e-T竺罵

°D礎(chǔ)

owDynamicReso亡l匡lx曰VuforiaDevelope

rPortalx 十DXA、

動(dòng)

fci

0

2。 @ 凸

https:/

/

d

eve

lo

p

e

r.vufo

ria

.co

m/

vu

i/deve

lo

p/1

,censes/f328f

49bd4794d

3fbc20a

58e9f538d

a7/

info20220323砌tNameDeleteLicense

KeyLicenseKe

yUsa

gePleasecopythelicensekeybelowint

oyourapp印jE:gcX/////廷c?.3mYS驅(qū)y3NI0!-!8gd幾PS9已Cjhl沁+17沁r,迂已DoJtthRekQ江J卻砬oz了6LvgWOHPqopQ又td!嚇vjj99釭sea鄧

QFZ3鈺扣cznl距心R9DC眨忒冗z807q2gn3!!l.e農(nóng)03g!?ll讓5HL2860bdocVOnv5P已職//QNj;<:SOJDF立98SgCXEC9ux氐uqq+

PyOQ5PG/YP句G已JhPh6己jq助CTt+zk8G'1bav87廷m+乙S+h5IpdDGyOROoYVszrOcYGNolmcnrq區(qū)YCOv9L'.fluWD5mO平vt/020v奴Oosgz扛3兀3立

R生句罕rj式如門(mén)aF0912Ys

zu6PSz8JxjmLx6Y的ljFQduj!!R?/XaC三1/w+IT立2L7ZXh3五fG的扣+PlanType:Bas

icStatus:A

ctiveCreated:Mar23,2022

09:16Lice

n

s

e

U

U

I

D:

f3

28

f4

9

b

d

4

79

4

d

3

f

bc

2

0

a

58

e

9

f5

38

d

a

7Permissions

:Ad

va

nce

d

Came

raExte

rn

a

l

Ca

m

e

r

aModel&

AreaTarge

ts11'DigitalEyewea

rDe

vice

Type IHaodh,

ld 'f'Database

s。 Database,wH

Ibeaotomabcallyloaded

aodacbvatedIfItsTmklogB,havlo"'·Iseoabl,dosceoeload

,VuforiaMars_I

magesVuforiaMars_ModelTa,·getVuforiaMars_object_OTVufo

na

Mars_VuMarkAdd

Databa

se

I"'Video

BackgroundEn

a

bl

e

v

id

e

o

ba

ck

gr

['1l創(chuàng)建項(xiàng)目在官網(wǎng)注冊(cè)密匙developer.vuforiaVuforia的圖片識(shí)別機(jī)制Vuforia識(shí)別的原理是通過(guò)檢測(cè)自然特征點(diǎn)的匹配來(lái)完成的。將TargetManager中的image檢測(cè)出的特征點(diǎn)保存在數(shù)據(jù)

庫(kù)中,然后在實(shí)時(shí)檢測(cè)出真實(shí)圖像中的特征點(diǎn)與數(shù)據(jù)庫(kù)中模板圖片的特征點(diǎn)數(shù)據(jù)

進(jìn)行匹配。服務(wù)器對(duì)上傳圖片進(jìn)行灰度處理,圖片變成黑白圖像;提取黑白圖像特征點(diǎn);將特征點(diǎn)數(shù)據(jù)打包;程序運(yùn)行時(shí)對(duì)比特征點(diǎn)數(shù)據(jù)包。Vuforia的圖片識(shí)別注意事項(xiàng)圖片目標(biāo)最好是無(wú)光澤、較硬材質(zhì)的卡片,因?yàn)檩^硬的材質(zhì)不會(huì)有彎曲和褶皺的地方,可以使攝像機(jī)在掃描圖片時(shí)更好地聚焦。圖片要包含豐富的細(xì)節(jié),較高的對(duì)比度以及無(wú)重復(fù)的圖像,例如街道、人群、運(yùn)動(dòng)場(chǎng)的場(chǎng)景圖片,重復(fù)度較高圖片的評(píng)價(jià)星級(jí)往往會(huì)比較低。被上傳到官網(wǎng)的整幅圖片的8%寬度被

稱(chēng)為功能排斥緩沖區(qū),意為該8%的區(qū)域不會(huì)被識(shí)別。帶有輪廓分明、有棱有角的圖像的圖片評(píng)級(jí)就會(huì)越高,其追蹤效果和識(shí)別效果也就越好。在掃描圖片時(shí),環(huán)境也是十分重要的因素,圖像目標(biāo)應(yīng)該在漫反射燈光照射的適度明亮的環(huán)境中,圖片表面應(yīng)被

均勻照射,這樣圖像的信息才會(huì)被

更有效地收集,更加有利于Uvforia

SDK的檢測(cè)和追蹤。Target

ManagerUse

the

Target

Manage

r

to

cr

eat

e

and

m

anage

dat

abas

es

an

d

t

argets.Sear

chDatabase20221005AR1009TestNewShan

VuTestTypeDeviceDeviceDeviceDevicestegral

1111Date

ModifiedOct07,

2022Oct09,

2022Mar23,

2022Mar21,

2022\、、_Create

DatabaseDatabase

Name*Ty

pe:@Dev

ice0Vu

Mark1111TargetManager>

NewNew EditNameType:

DeviceTa

rg

et

s

(0)DownloadDatabase

(All)TypeRating

1Status

vDate

ModifiedImage定 勹fJ

@M

u

l

t

r

Cylind

er

Ob」ectFil

e:K.」p

egBrowse....」pg

or

.png

(max

file

2mb)Width:En

t

er

t

he

w啦

h

of

your

tar

get

in

scene

un

its.

Th

e

size

of

the

t

arget

sho

uld

b

e

on

th

esamescaleasyouraugmentedvirtualcontent.Vuforiausesmete巧asthedefaultuni

t

scale.

The

t

ar

get

's

h

eight

will

be

calcu

lat

ed

w

hen

you

up

load

your

im

age.Name:KName

mu

st

be

unique

to

a

database.

When

a

target

is

det

ecte

d

i

n

yo

u

r

app

li

cat

ion,this

wil

l

b

e

repor

t

ed

in

th

e

API.Download

Database1

of

1

act

ive

ta

rgets

will

be

download

edName:NewSelectadevelopmentplatform

:0

Android

St

u

d

io,

Xcod

e

or

Vi

sual

Stu

dio@UnityEditorDownload心

Unity

乙U飛

,乙.如

rso

na

l

(t>4b1tJ

-

amp

le

ce

ne.u

rnty

乙UAssetsGameObjectComponentWindow

H-,1

1

..-.1.:盡\I"'

CenterjO

Globa

Il

I三,Ga

l!Jt, 且叢丑e一尋o_i;e.

_

.扣叩

a2DJ,9,I<il)已

·O

新建

vy個(gè)快速訪問(wèn)桌面士

下載

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論