cloud vision apiで画像認識

E1d0fb88b4daee589feb6ce59fe4c789?s=47 yasuo424
June 16, 2016
250

cloud vision apiで画像認識

E1d0fb88b4daee589feb6ce59fe4c789?s=128

yasuo424

June 16, 2016
Tweet

Transcript

  1. Cloud Vision API Λ࢖ͬͯ ը૾ೝࣝΛͯ͠Έͨɻ 2016.06.16ɹͮ΍ձɹvol.6

  2. ࣗݾ঺հ ໊લ:ɹϠελΧ ৬छ:ɹόοΫΤϯυΤϯδχΞ ॅॴ: ɹ௕໺ݝʢ໺৲ބͷۙ͘ʣ ΤϯδχΞྺ:ɹ̍೥൒͘Β͍

  3. GCPͷ֤छαʔϏε

  4. GCPͷαʔϏεΛAWSʹஔ͖׵͑Δͱ… ($1 "84 $PNQVUF&OHJOF &$ $MPVE4UPSBHF 4 $MPVE4UPSBHF (MBDJFS $MPVE42-

    3%4 $MPVE%/4 3PVUF
  5. GCPʹ͸΄Μͱʹ୔ࢁͷAPI͕༻ҙ͞ΕͯΔʂʂ

  6. Cloud Vision API Λ࢖ͬͯΈΔ

  7. ը૾ೝࣝAPI͸Cloud Vision API ϦΫΤετΛJSONͰૹΔͱը૾ೝࣝ݁Ռ͕JSON Ͱฦͬͯ͘Δɻ $json = json_encode( array( "requests"

    => array( array( "image" => array( "content" => base64_encode( file_get_contents( $image_path ) ) , ) , "features" => array( array( "type" => "LABEL_DETECTION" , "maxResults" => 1 , ) ,
  8. ೝࣝ݁ՌΛJSONͰड͚औΔ ը૾ೝࣝ݁ՌͷJSONʢإೝࣝͷ৔߹ʣ "rollAngle": -2.1567879, "panAngle": 0.011070943, "tiltAngle": -11.834785, "detectionConfidence": 0.99939203,

    "landmarkingConfidence": 0.52924746, "joyLikelihood": "VERY_LIKELY", "sorrowLikelihood": "VERY_UNLIKELY", "angerLikelihood": "VERY_UNLIKELY", "surpriseLikelihood": "VERY_UNLIKELY", "underExposedLikelihood": "VERY_UNLIKELY", "blurredLikelihood": "VERY_UNLIKELY", "headwearLikelihood": "LIKELY"
  9. ࢦఆͰ͖ΔೝࣝλΠϓ ߲໨ આ໌ '"$&@%&5&$5*0/ إݕग़ɻද৘ͷتౖѩָ·Ͱ൑ఆ -"/%."3,@%&5&$5*0/ ϥϯυϚʔΫೝࣝɻ؍ޫ໊ॴͳͲͷ৔ॴΛಛఆ -0(0@%&5&$5*0/ ϩΰݕग़ɻָఱ΍BQQMFͳͲͷاۀϩΰ΋൑ఆ -"#&-@%&5&$5*0/

    ΧςΰϦݕग़ɻۭɾݘɾԾ໘ɾ৯΂෺ͳͲͷը૾छ ྨΛ൑ఆ 5&95@%&5&$5*0/ 0$3ɻจࣈͷݕग़ɻ 4"'&@4&"3$)@%&5&$5*0/ ηʔϑαʔνɻը૾͕༗֐ͳ಺༰ΛؚΜͰ͍Δ͔Λ ݕग़ɻΞμϧτ౓ɺ๫ྗ౓ͳͲɺ߲໨ผʹ౓߹͍Λ ൑ఆ͢Δ
  10. ·ͱΊ • Cloud Vision APIΛ࢖͑͹؆୯ʹը૾৘ใ
 ͷऔಘ͕Ͱ͖Δɻ • ༷ʑͳAPI܈͕͋ΓɺͦΕΒΛ͏·͘࢖͍
 ͜ͳͤΕ͹ɺ։ൃεϐʔυ্͕͕Γͦ͏ɻ •

    AWSͱൺ΂ͯྉ͕͍ۚ҆ͱ͍͏͕ᷚ…
 ࠓޙGCPΛ࢖ͬͨ։ൃ͕૿͑ͯ͘Δʁ
  11. ௕໺ΦϑΟεͷ͝঺հ

  12. ৔ॴ ←͜͜

  13. ͪΐͬͱલ·Ͱͷ໺৲ބ

  14. ΦϑΟεͷ͝঺հɻ

  15. ΦϑΟεͷ͝঺հ • ͍ͭͰ΋ؾܰʹ༡ͼʹདྷ͍ͯͩ͘͞ɻ • wifiɺిݯ͋Γ·͢ɻ • Πϕϯτ։࠵ͳͲ͝૬ஊ͍ͩ͘͞ɻ

  16. ௕໺Ͱ͸اۀ߹॓΋ड͚෇͚͍ͯ·͢ʂʂ

  17. ௕໺ΦϑΟεͷΞΧ΢ϯτ lig_nagano @Lig_Nagano twitterɾinstagram΍ͬͯ·͢ɻ

  18. ௕໺ΦϑΟεͰ͸Ұॹʹಇ͚Δ
 ஥ؒΛืूதͰ͢ʂʂ •ϑϩϯτΤϯυΤϯδχΞ •όοΫΤϯυΤϯδχΞ •σβΠφʔ •σΟϨΫλʔ •ϥΠλʔ ʂʂཁ͢Δʹશ৬छʂʂ

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