Slide 1

Slide 1 text

AngularͱAzureͷCustom Vision ServiceΛ࢖ͬͯը૾ೝࣝαΠτΛ ࡞ͬͯΈͨΑʔ

Slide 2

Slide 2 text

About me ৽ݟ ߊฏ ϑϩϯτΤϯυͱػցֶशͷΤϯδχΞ ʹͳΖ͏ͱؤு͍ͬͯ·͢(ʆɾωɾ´) • Twitter: @gupuru • GitHub: gupuru

Slide 3

Slide 3 text

Ֆͷ໊લΛڭ͑ͯ ͘ΕΔαʔϏε࡞ Γ·ͨ͠ʔ(ɾωɾ)

Slide 4

Slide 4 text

ߏ੒͸͜Μͳײ͡ɻ ϑϩϯτ͸Angular4ܥ Λ࢖͍·ͨ͠ɻ

Slide 5

Slide 5 text

Custom Vision Service • ؆୯ʹݴ͑͹ɺࣗ෼Ͱը૾ೝࣝͷϞσ ϧ͕࡞੒Ͱ͖ΔαʔϏεͰ͢ɻ • GUIͰૢ࡞ɺ͞ΒʹAPI͖ͭ

Slide 6

Slide 6 text

͖ͬ͞ͷ΍ͭΛ࡞ͬͨ࣌ʹࢀߟʹͳ ͬͨαΠτ΍ศརͩͬͨπʔϧͳͲ Λ঺հ͠Α͏ͱࢥ͍·͢ɻ ͜Ε͔ΒAngularΛ࢝ΊΑ͏͍ͯ͠Δਓͷखॿ ͚ʹͳΕ͹޾͍Ͱ͢ɻ

Slide 7

Slide 7 text

1. CLIΛ࢖͏(ʆŋωŋ´) ͱͯ΋ڧྗͰ͢ʂԼखʹࣗ෼Ͱ࡞ΔΑΓɺ CLI࢖ͬͨ΄͏͕͍͍Ͱ͢ɻ npm install -g @angular/cli

Slide 8

Slide 8 text

ͪͳΈʹɺɺɺCLIΛ࢖Θͣʹɺࣗ෼Ͱ؀ڥΛ ࡞ͬͯ։ൃ͍ͯ͠Δਓͬͯɺ͍·͔͢ʁʁʁ ※CLI͸؁͑ɹby Ͳ͔͜ͷݘ

Slide 9

Slide 9 text

CLIΛ࢖͑͹ɺ͜Μͳײ͡ ʹҰॠͰϓϩδΣΫτ͕ ࡞Ε·͢ɻ ng new ng-fukuoka-sample

Slide 10

Slide 10 text

component΋ ng g component azarashi-image

Slide 11

Slide 11 text

͋ɺͪͳΈʹɺWebStormΛ࢖͑͹ɺGUIͰ͖·͢ʂ

Slide 12

Slide 12 text

2. AngularΛ࢖ͬͨWebαΠτͷ࡞Γํ(ʆŋωŋ´) ng-japan͞ΜͷϋϯζΦϯͷࢿྉͱͯ΋෼͔Γ΍͔ͬͨ͢Ͱ͢ʂ ͜ΕΛ΍Δ͚ͩͰɺجຊֶ͕΂·ͨ͠ɻ https://github.com/ng-japan/hands-on

Slide 13

Slide 13 text

material-todoappͷষͰɺ deprecated͕͋ΔͷͰɺͦ͜͸஫ҙ͆

Slide 14

Slide 14 text

3. Rx(ʆŋωŋ´) Angular͸Rx͕ଟ͘࢖ΘΕ͍ͯ·͢ɻ CodeGrid͞Μͷهࣄ͕෼͔Γ΍͔ͬͨ͢Ͱ͢ɻ https://app.codegrid.net/entry/2017-rxjs-1

Slide 15

Slide 15 text

4. ௨৴·ΘΓ(ʆŋωŋ´) ௨৴·ΘΓ͸ɺެࣜͷυΩϡϝϯτ͕෼͔Γ΍͔ͬͨ͢Ͱ͢ɻ https://angular.io/guide/http#http

Slide 16

Slide 16 text

Angular͸ɺެࣜͷυΩϡϝϯτ͕๛෋Ͱ͢ɻ ӳޠͰ͕͢ɺɺɺ

Slide 17

Slide 17 text

5. αʔόʔʹஔ͘Ͱ(ʆŋωŋ´) ng build ͜͜ͷϑΝΠϧΛαʔόʔʹஔ͍ͨΒɺ͓̺

Slide 18

Slide 18 text

௨ৗͳΒ͜ΕͰ͍͍Ͱ͕͢ɺɺɺ ͜ͷΑ͏ͳURLͩͱɺɺɺ https://inu.com/hoge/index.html fileͳ͍ΑʂͬͯݴΘΕ·͆͢ inline.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) vendor.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) polyfills.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) styles.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) main.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) vendor.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.) main.bundle.js Failed to load resource: the server responded with a status of 404 (The specified resource does not exist.)

Slide 19

Slide 19 text

͖ͬ͞ͷΑ͏ͳURLͷ৔߹͜Μͳײ͡ʹ͢Δͱɺ͓̺ ng build --prod -bh /hoge/"

Slide 20

Slide 20 text

·ͱΊ

Slide 21

Slide 21 text

Angularָ͍͠(ʆŋωŋ´)

Slide 22

Slide 22 text

͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ