å°æ¥ã®ã³ã³ãã¥ãŒã¿ãŒããžã§ã³ã·ã¹ãã ã®ãã¯ãããžãŒãšã¢ãã«ã¯ãåœç€Ÿã®ããŸããŸãªãããžã§ã¯ãïŒã¡ãŒã«ãã¯ã©ãŠããæ€çŽ¢ïŒã§åŸã ã«äœæããã³æ¹åãããŸããã è¯ãããŒãºãã³ãã£ãã¯ã®ããã«çããŸãã ãã¥ãŒã©ã«ãããã¯ãŒã¯ãåªããèªèçµæã瀺ããŠããããšã«æ°ã¥ããããããåäžã®b2b補åïŒããžã§ã³ïŒã«çµ±åããããšã決å®ããŸããã
ä»æ¥ãMail.Ru Cloud Solutionsãã©ãããã©ãŒã ã®ã³ã³ãã¥ãŒã¿ãŒããžã§ã³ãã¯ãããžãŒã¯æ£åžžã«æ©èœããéåžžã«è€éãªå®éçãªåé¡ã解決ããŸãã ããã¯ãããŒã¿ã»ããã§ãã¬ãŒãã³ã°ãããé©çšãããåé¡ã®è§£æ±ºã«ç¹åããå€æ°ã®ãã¥ãŒã©ã«ãããã¯ãŒã¯ã«åºã¥ããŠããŸãã ãã¹ãŠã®ãµãŒãã¹ã¯ããµãŒããŒå®¹éã§å転ããŠããŸãã ãããªãã¯Vision APIãã¢ããªã±ãŒã·ã§ã³ã«çµ±åãããšããµãŒãã¹ã®ãã¹ãŠã®æ©èœãå©çšã§ããŸãã APIã¯é«éã§ã-ãµãŒããŒGPUã®ãããã§ããããã¯ãŒã¯å ã®å¹³åå¿çæéã¯100ããªç§ã§ãã
ã«ããã®äžã«æ¥ãŠã詳现ãªç©èªãšããžã§ã³ã®å€ãã®äŸããããŸãã
åè¿°ã®é¡èªèæè¡ã䜿çšãããµãŒãã¹ã®äŸãšããŠã ã€ãã³ããåŒçšã§ããŸã ã ãã®ã³ã³ããŒãã³ãã®1ã€ã¯ãããŸããŸãªäŒè°ã§äœ¿çšããVisionãã©ãã¹ã¿ã³ãã§ãã ãã®ãããªåçã¹ã¿ã³ãã«è¡ã£ãŠãå èµã«ã¡ã©ã§åçãæ®ã£ãŠã¡ãŒã«ãå ¥åãããšãã·ã¹ãã ã¯ãéåžžã®äŒè°ã«ã¡ã©ãã³ãããªããæ®åœ±ããåçã®é åã®äžããããã«èŠã€ããå¿ èŠã«å¿ããŠãèŠã€ãã£ãåçãã¡ãŒã«ã§éä¿¡ããŸãã ãããŠãããã¯æ®µéçãªããŒãã¬ãŒãã·ã§ããã§ã¯ãããŸãã-芳客ã®çŸ€è¡ã®èæ¯ã§ãããªããèªèããŠããŸãã ãã¡ããã圌ãã¯åçã¹ã¿ã³ãèªäœã«ãã£ãŠèªèããããåã«å èµã«ã¡ã©ã§ã²ã¹ããæ®åœ±ãããã¹ãŠã®èªèã®éæ³ãçºçãããµãŒããŒã«æ å ±ãéä¿¡ããçŸããã³ãŒã¹ã¿ãŒã®ã¿ãã¬ããã«ãããŸããã ãããŠãç»åèªèã®å°é家ã®éã§ããããã®æè¡ã®æå¹æ§ãã©ãã»ã©é©ãã¹ããã®ã§ããããç¹°ãè¿ã芳å¯ããŠããŸããã 以äžã«ããã€ãã®äŸã«ã€ããŠèª¬æããŸãã
1.é¡èªèã¢ãã«
1.1ã ãã¥ãŒã©ã«ãããã¯ãŒã¯ãšåŠçé床
èªèã®ããã«ãResNet 101ãã¥ãŒã©ã«ãããã¯ãŒã¯ã¢ãã«ã®ä¿®æ£ã䜿çšããArcFaceã§è¡ãããã®ãšåæ§ã«ãæåŸã®å¹³åããŒãªã³ã°ãå®å šã«æ¥ç¶ãããã¬ã€ã€ãŒã«çœ®ãæããŸãã ãã ãããã¯ãã«è¡šçŸã®ãµã€ãºã¯512ã§ã¯ãªã128ã§ãããã¬ãŒãã³ã°ãµã³ãã«ã«ã¯ã273,593人ã®çŽ1,000äžæã®åçãå«ãŸããŠããŸãã
æ éã«éžæããããµãŒããŒæ§æã¢ãŒããã¯ãã£ãšGPUã³ã³ãã¥ãŒãã£ã³ã°ã«ãããã¢ãã«ã¯éåžžã«é«éã«åäœããŸãã å éšãããã¯ãŒã¯ã®APIããå¿çãååŸããã®ã«100ããªç§ããããŸããããã«ã¯ãé¡æ€åºïŒåçã§ã®é¡æ€åºïŒãAPIå¿çã§ã®PersonIDã®èªèããã³è¿éãå«ãŸããŸãã 倧éã®åä¿¡ããŒã¿ïŒåçããããªïŒã䜿çšãããšãããŒã¿ããµãŒãã¹ã«è»¢éããŠå¿çãåä¿¡ããã®ã«ããã«æéãããããŸãã
1.2ã ã¢ãã«ã®æå¹æ§ã®è©äŸ¡
ãããããã¥ãŒã©ã«ãããã¯ãŒã¯ã®å¹çãå€æããããšã¯ãéåžžã«è€éãªäœæ¥ã§ãã äœæ¥ã®å質ã¯ãã¢ãã«ããã¬ãŒãã³ã°ãããããŒã¿ã»ãããšãç¹å®ã®ããŒã¿ãåŠçããããã«æé©åããããã©ããã«ãã£ãŠç°ãªããŸãã
人æ°ã®ããLFWæ€èšŒãã¹ãã§ã¢ãã«ã®ç²ŸåºŠãè©äŸ¡ãå§ããŸããããããã¯å°ããããŠåçŽã§ãã 99.8ïŒ ã®ç²ŸåºŠã«éããåŸãããã¯ãã¯ãæçšã§ã¯ãããŸããã èªèã¢ãã«ãè©äŸ¡ããããã®ãã競äºããããŸã-Megafaceã¯åŸã ã«82ïŒ ã©ã³ã¯1ã«éããŸãããMegafaceãã¹ãã¯100äžæã®åç-ãã£ã¹ãã©ã¯ã¿ãŒ-ããæããã¢ãã«ã¯æå人ã®æ°åæã®åçãDistractorsããFacescrubããŒã¿ã»ããããååã«åºå¥ã§ããã¯ãã§ãã ãã ããMegafaceãã¹ãã®ãšã©ãŒãã¯ãªã¢ããçµæãã¯ãªãŒã³ããŒãžã§ã³ã§ã¯98ïŒ ã©ã³ã¯1ã®ç²ŸåºŠãåŸãããããšãããããŸããïŒæå人ã®åçã¯äžè¬çã«éåžžã«å ·äœçã§ãïŒã ãã®ãããMegafaceã«äŒŒãå¥ã®èå¥ãã¹ããäœæããŸãããããæ®éã®ã人ã ã®åçã䜿çšããŸããã ããŒã¿ã»ããã®èªè粟床ãããã«åäžãããããã«åé²ããŸããã ããã«ãæ°åæã®åçã§æ§æãããã¯ã©ã¹ã¿ãªã³ã°å質ãã¹ãã䜿çšããŸãã ãŠãŒã¶ãŒã®ã¯ã©ãŠãå ã®é¡ã®ããŒã¯ã¢ãããã·ãã¥ã¬ãŒãããŸãã ãã®å Žåãã¯ã©ã¹ã¿ãŒã¯é¡äŒŒããå人ã®ã°ã«ãŒãã§ãããèªèå¯èœãªå人ã®ã°ã«ãŒãã§ãã å®éã®ã°ã«ãŒãã®äœæ¥ã®å質ããã§ãã¯ããŸããïŒtrueïŒã
ãã¡ãããã©ã®ã¢ãã«ã«ãèªèãšã©ãŒããããŸãã ãã ãããã®ãããªç¶æ³ã¯ãç¹å®ã®æ¡ä»¶ã®ãããå€ã埮調æŽããããšã§è§£æ±ºãããããšããããããŸãïŒãã¹ãŠã®äŒè°ã§åããããå€ã䜿çšããŸããããšãã°ãACSã§ã¯ã誀æ€ç¥ãå°ãªããªãããã«ãããå€ãå€§å¹ ã«å¢ããå¿ èŠããããŸãïŒã äŒè°ã®åå è ã®å€§éšåã¯ãVisionã®åçã¹ã¿ã³ãã§æ£ããèªèãããŸããã æã 誰ããããªãã³ã°ããããã¬ãã¥ãŒãèŠãŠããããªãã®ã·ã¹ãã ã¯ééã£ãŠãããããã¯ç§ã§ã¯ãªãããšèšã£ãã ãã®åŸãåçå šäœãéãããšããããã®èšªåè ã¯å®éã«åçã®äžã«ããããšãããããŸããã圌ãã¯ãããæ®åœ±ããŸããã§ããããä»ã®äººã¯ãåã«ãŒãããŸãŒã³ã®èæ¯ã«èª€ã£ãŠç·ãçŸããã ãã§ãã ããã«ããã¥ãŒã©ã«ãããã¯ãŒã¯ã¯ãé¡ã®äžéšãèŠããªãå Žåãã人ã暪é¡ã§ç«ã£ãŠããå ŽåããŸãã¯é¡ã®ååã§ããç«ã£ãŠããå Žåã§ããå€ãã®å Žåæ£ããèªèããŸãã ãã®ã·ã¹ãã ã¯ãåºè§ã¬ã³ãºã§æ®åœ±ããå Žåãªã©ã人ãå åŠçãªæªã¿ã®åéã«é¥ã£ãå Žåã§ãã人ãèªèããããšãã§ããŸãã
1.3ã å°é£ãªç¶æ³ã§ã®ãã¹ãäŸ
以äžã¯ããã¥ãŒã©ã«ãããã¯ãŒã¯ã®åäœã®äŸã§ãã å ¥ãå£ã§åçãæåºããã圌女ã¯PersonIDïŒäººç©ã®äžæã®èå¥åïŒã§ããŒã¯ããå¿ èŠããããŸãã è€æ°ã®ç»åã®èå¥åãåãå Žåãã¢ãã«ã«ãããšããããã®åçã«ã¯1人ã®äººç©ãæãããŠããŸãã
ããã«ããã¹ãäžã«ç¹å®ã®çµæãéæããããã«æ§æã§ããã¢ãã«ã®ããŸããŸãªãã©ã¡ãŒã¿ãŒãšãããå€ã«ã¢ã¯ã»ã¹ã§ããããšã«æ³šæããŠãã ããã ãããªãã¯APIã¯ãäžè¬çãªã±ãŒã¹ã§æ倧éã®ç²ŸåºŠãåŸãããããã«æé©åãããŠããŸãã
é¡ã®é¡èªèã䜿çšããæãåçŽãªãã®ããå§ããŸãããã
ãŸããããã¯ããŸãã«ãç°¡åã§ããã ç§ãã¡ã¯ä»äºãè€éã«ããããã²ããšæ°å¹Žãè¿œå ããŸãã
ã©ã¡ãã®å Žåãé¡å šäœãèŠãããããã¢ã«ãŽãªãºã ã«ã¯é¡ã«é¢ããå€ãã®æ å ±ãããããããããããã»ã©é£ãããªããšèšã人ãããŸãã ããŠããããã£ãŒã«ã§ãã ã»ããŒãã£ãåããŠãã ããã ãã®ã¿ã¹ã¯ã¯ã¯ããã«è€éã§ãããäœã¬ãã«ã®ãšã©ãŒãç¶æããªãããã®æåãããœãªã¥ãŒã·ã§ã³ã«å€å€§ãªåªåãè²»ãããŸããããã¬ãŒãã³ã°ã»ãããéžæãããã¥ãŒã©ã«ãããã¯ãŒã¯ã®ã¢ãŒããã¯ãã£ãæ€èšããæ倱é¢æ°ã磚ããåçã®äºååŠçãæ¹åããŸããã
圌ã«åžœåããã¶ãããŸãããïŒ
ã¡ãªã¿ã«ãããã¯ç¹ã«é£ããç¶æ³ã®äžäŸã§ããããã§ã¯é¡ãéåžžã«èŠãããŠãããäžã®åçã«ã¯ç®ãé ãæ·±ã圱ããããŸãã å®éã®ç掻ã§ã¯ã人ã ã¯éåžžã«é »ç¹ã«é»çŒé¡ã®å©ããåããŠå€èŠãå€ããŸãã ãã ã«ãåãããšãããŠãã ããã
ããŠãããŸããŸãªå¹Žéœ¢ã®åçãã¢ããããŒãããŠã¿ãŸããããä»åã¯å¥ã®ä¿³åªã«çµéšãç©ãã§ãããŸãã 幎霢ã«é¢é£ããå€åãç¹ã«é¡èã§ããå Žåããã£ãšè€éãªäŸãåãäžããŸãããã ãã®ç¶æ³ã¯æ±ºããŠå€§ãããªãã®ã§ã¯ãªãããã¹ããŒãã®åçãšæã¡äž»ã®é¡ãæ¯èŒããå¿ èŠãããå Žåã«åžžã«èµ·ãããŸãã çµå±ã®ãšãããæåã®åçã¯ææè ã20æ³ã®ãšãã«ãã¹ããŒãã«æ¥çããã45人ã®äººã ã«ãã£ãŠå€§ããå€ããå¯èœæ§ããããŸãã
äžå¯èœãªããã·ã§ã³ã®ã¡ã€ã³ã¹ãã·ã£ã«ã¯ã幎霢ã«ãã£ãŠå€§ããå€ãã£ãŠããªããšæããŸããïŒ æ°äººã®äººã ã§ãããäžã®åçãšäžã®åçãçµã¿åããããšæããŸãããå°å¹Žã¯é·å¹Žã«ããã£ãŠå€§ããå€ãã£ãŠããŸããã
ãã¥ãŒã©ã«ãããã¯ãŒã¯ã¯ãããé »ç¹ã«å€èŠ³ã®å€åã«çŽé¢ããŠããŸãã ããšãã°ã女æ§ã¯å粧åã®å©ããåããŠã€ã¡ãŒãžã倧ããå€ããããšãã§ããå ŽåããããŸãã
次ã«ãã¿ã¹ã¯ãããã«è€éã«ããŸããããé¡ã®ããŸããŸãªéšåãããŸããŸãªåçã§èŠããŸãã ãã®ãããªå Žåãã¢ã«ãŽãªãºã ã¯ãµã³ãã«å šäœãæ¯èŒã§ããŸããã ãã ããVisionã¯ãããã®ç¶æ³ãããŸãåŠçããŸãã
ãšããã§ãåçã«ã¯å€ãã®é¡ããããŸããããšãã°ã100人以äžãããŒã«ã®äžè¬çãªåçã«åãŸããŸãã ããã¯ãã¥ãŒã©ã«ãããã¯ãŒã¯ã«ãšã£ãŠå°é£ãªç¶æ³ã§ãããªããªããå€ãã®é¡ã¯ãã·ã£ãŒããã¹ãŸãŒã³ã®å€åŽã«ãã誰ããç°ãªã£ãŠç §ããããå¯èœæ§ãããããã§ãã ãã ããåçãååãªè§£å床ãšå質ïŒé¡ãèŠãæ£æ¹åœ¢ãããå°ãªããšã75ãã¯ã»ã«ïŒã§æ®åœ±ãããå ŽåãVisionã¯ãããèå¥ããã³èªèã§ããŸãã
ç£èŠã«ã¡ã©ããåçãç»åãå ±åããããšã®ç¹ç°æ§ã¯ã人ã ãã·ã£ãŒããã¹ã®ãã£ãŒã«ãããå€ããŠãããããã®ç¬éåããŠããããã«ããã°ãã°ãŒãããŠããããšã§ãã
ãŸããç §æã®åŒ·åºŠã¯ç»åããšã«å€§ããç°ãªããŸãã ããã¯ãã°ãã°ã€ãŸããã«ããªããŸããå€ãã®ã¢ã«ãŽãªãºã ã§ã¯ãæ£ç¢ºãªæ¯èŒã¯èšããŸã§ããªããæããããæãããããããç»åãæ£ããåŠçããããšã¯éåžžã«å°é£ã§ãã ãã®ãããªçµæãåŸãã«ã¯ãç¹å®ã®æ¹æ³ã§ãããå€ãèšå®ããå¿ èŠããããŸããããã®å¯èœæ§ã¯ãŸã å ¬éãããŠããŸããã ãã¹ãŠã®ã¯ã©ã€ã¢ã³ãã«å¯ŸããŠãåããã¥ãŒã©ã«ãããã¯ãŒã¯ã䜿çšããŸããããã«ã¯ãã»ãšãã©ã®å®çšçãªã¿ã¹ã¯ã«é©ãããããå€ããããŸãã
æè¿ãã¢ãžã¢ã®é¡ãé«ç²ŸåºŠã§èªèããæ°ããããŒãžã§ã³ã®ã¢ãã«ããªãªãŒã¹ããŸããã 以åã¯ãããã¯å€§ããªåé¡ã§ããããæ©æ¢°åŠç¿ã®äººçš®å·®å¥ãïŒãŸãã¯ããã¥ãŒã©ã«ãããã¯ãŒã¯ãïŒãšåŒã°ããŠããŸããã ãšãŒããããšã¢ã¡ãªã«ã®ãã¥ãŒã©ã«ãããã¯ãŒã¯ã¯ã³ãŒã«ãœã€ãã®é¡ãããèªèããŠãããã¢ã³ãŽãã€ããšãã°ããã€ãã®ãã®ã§ã¯äºæ ã¯ããã«æªåããŸããã ããããåãäžåœã§ã¯ãç¶æ³ã¯ãŸã£ããéã§ããã ããã¯ãã¹ãŠãç¹å®ã®åœã®æ¯é çãªã¿ã€ãã®äººã ãåæ ãããã¬ãŒãã³ã°ããŒã¿ã»ããã«é¢ãããã®ã§ãã ããããç¶æ³ã¯å€åããŠããŸããä»æ¥ããã®åé¡ã¯ããã»ã©æ·±å»ãªãã®ã§ã¯ãããŸããã ããžã§ã³ã¯ãããŸããŸãªäººçš®ã®ä»£è¡šè ã«ãšã£ãŠåé¡ãããŸããã
é¡èªèã¯åœç€Ÿã®ãã¯ãããžãŒã®å€ãã®ã¢ããªã±ãŒã·ã§ã³ã®1ã€ã«ãããŸãããVisionã¯äœã§ãèªèããããã«æããããšãã§ããŸãã ããšãã°ãã¢ã«ãŽãªãºã ã«ãšã£ãŠå°é£ãªæ¡ä»¶ãå«ãè»ã®çªå·ïŒéè§ãæ±ããèªã¿ã«ããçªå·ã
2.å®çšçãªãŠãŒã¹ã±ãŒã¹
2.1ã ç©ççã¢ã¯ã»ã¹å¶åŸ¡ïŒ2ã€ãåããã¹ã«ããå Žå
ããžã§ã³ã®å©ããåããŠãåŸæ¥å¡ã®åºå ¥åœã®ããã®äŒèšã·ã¹ãã ãå®è£ ããããšãå¯èœã§ãã é»åãããžã«åºã¥ãåŸæ¥ã®ã·ã¹ãã ã«ã¯æãããªæ¬ ç¹ããããŸããããšãã°ã2ã€ã®ãããžãäžç·ã«äœ¿çšããããšãã§ããŸãã ã¢ã¯ã»ã¹ã·ã¹ãã ïŒACSïŒãVisionã«ãã£ãŠè£å®ãããŠããå Žåã誰ããã€åºå ¥ãããããæ£çŽã«èšé²ããŸãã
2.2ã æéã®è¿œè·¡
Visionã®ãã®ãŠãŒã¹ã±ãŒã¹ã¯ã以åã®ãŠãŒã¹ã±ãŒã¹ãšå¯æ¥ã«é¢é£ããŠããŸãã é¡èªèãµãŒãã¹ã§ã¢ã¯ã»ã¹å¶åŸ¡ã·ã¹ãã ãè£å®ããå Žåãã¢ã¯ã»ã¹å¶åŸ¡ã®éåã«æ°ä»ãã ãã§ãªãã建ç©ãŸãã¯æœèšã§ã®åŸæ¥å¡ã®å®éã®æ»åšãèšé²ããããšãã§ããŸãã èšãæããã°ãVisionã¯ãååãäžåžã®åã§åœŒãèŠã£ããšããŠãã誰ãã©ã®ãããåããŠåœŒå¥³ãšäžç·ã«å»ãã誰ãã¹ãããããããæ£çŽã«èããã®ã«åœ¹ç«ã¡ãŸãã
2.3ã ãããªåæïŒäººã®è¿œè·¡ãšã»ãã¥ãªãã£
Visionã䜿çšããŠäººã ã远跡ããããšã§ãã·ã§ããã³ã°ãšãªã¢ãé§ ã亀差ç¹ãéè·¯ããã®ä»ã®å€ãã®å ¬å ±ã®å Žæã®å®éã®ééæ§ãæ£ç¢ºã«è©äŸ¡ã§ããŸãã ãŸãããã©ããã³ã°ã¯ãããšãã°å庫ããã®ä»ã®éèŠãªãªãã£ã¹æœèšãžã®ã¢ã¯ã»ã¹ãå¶åŸ¡ããäžã§éåžžã«åœ¹ç«ã¡ãŸãã ãããŠãã¡ããã人ãšé¡ã远跡ããããšã¯ã»ãã¥ãªãã£åé¡ã®è§£æ±ºã«åœ¹ç«ã¡ãŸãã ããªãã®åºããçãŸãã人ãèŠã€ããŸãããïŒ ãããªåæãœãããŠã§ã¢ã®ãã©ãã¯ãªã¹ãã§ãVisionãè¿ããPersonIDã«è¿œå ããŸãã次åãã®ã¿ã€ããåã³è¡šç€ºãããå Žåãã·ã¹ãã ã¯ããã«ã»ãã¥ãªãã£ã«èŠåããŸãã
2.4ã ååŒäž
å°å£²ããã³ããŸããŸãªãµãŒãã¹äŒæ¥ã¯ããã¥ãŒèªèã«é¢å¿ãæã£ãŠããŸãã Visionã䜿çšãããšãããã¯ã©ã³ãã ãªçŸ€è¡ã§ã¯ãªããããããã¥ãŒã§ãããšèªèãããã®é·ãã決å®ã§ããŸãã ãããŠãã·ã¹ãã ã¯ç¶æ³ãç解ããããã«ãã¥ãŒã®æ åœè ã«éç¥ããŸãïŒããã¯èšªåè ã®æµå ¥ã§ãããè¿œå ã®åŸæ¥å¡ãåŒã³åºãå¿ èŠããããã誰ããä»äºã®è²¬ä»»ã§ãããã³ã°ããŠããŸãã
ãã1ã€ã®èå³æ·±ãã¿ã¹ã¯ã¯ãããŒã«å ã®åŸæ¥å¡ã蚪åè ããåé¢ããããšã§ãã éåžžãã·ã¹ãã ã¯ãç¹å®ã®æïŒãã¬ã¹ã³ãŒãïŒã®ãªããžã§ã¯ããŸãã¯ç¹åŸŽçãªæ©èœïŒçœ²åã¹ã«ãŒããèžã®ãããžãªã©ïŒã§ãªããžã§ã¯ããåé¢ããããšãåŠç¿ããŸãã ããã¯ãåºåžãããæ£ç¢ºã«è©äŸ¡ããã®ã«åœ¹ç«ã¡ãŸãïŒãã®ãããåŸæ¥å¡ã ããããŒã«ã®äººã ã®çµ±èšããçµããããªããïŒã
é¡èªèã䜿çšããŠãèŽè¡ãè©äŸ¡ã§ããŸãã蚪åè ã®å¿ èª å¿ãšã¯äœã§ãããã€ãŸããäœäººã®äººã ãããªãã®æœèšã«ã©ã®ãããã®é »åºŠã§æ»ããã§ãã 1ãæã«ãŠããŒã¯ããžã¿ãŒãäœäººæ¥ãããèšç®ããŸãã èªèŽãšç¶æã®ã³ã¹ããæé©åããããã«ãææ¥ãæå»ã«å¿ããŠåºåžã®å€åã調ã¹ãããšãã§ããŸãã
ãã©ã³ãã£ã€ã¶ãŒãšãããã¯ãŒã¯äŒç€Ÿã¯ãåçããããŸããŸãªå°å£²åºã®ãã©ã³ãã®å質ã®è©äŸ¡ã泚æã§ããŸããããŽããµã€ã³ããã¹ã¿ãŒããããŒãªã©ã®ååšã§ãã
2.5ã 茞éäž
ãããªåæã«ããã»ãã¥ãªãã£ã®å¥ã®äŸã¯ã空枯ãé§ ã®ããŒã«ã«æ®ã£ãŠããã¢ã€ãã ãèå¥ããããšã§ãã ããžã§ã³ã¯ãå®¶å ·ãããã°ãã¹ãŒãã±ãŒã¹ãåãããŸããŸãªçš®é¡ã®è¡£é¡ãããã«ãªã©ãæ°çŸã®ã¯ã©ã¹ã®ãªããžã§ã¯ããèªèããããã«ãã¬ãŒãã³ã°ã§ããŸãã ãããªåæã·ã¹ãã ãææè ã®ãªããªããžã§ã¯ããæ€åºããVisionã䜿çšããŠãããèªèãããšãã»ãã¥ãªãã£ãµãŒãã¹ã«ä¿¡å·ãéä¿¡ããŸãã åæ§ã®ã¿ã¹ã¯ã¯ãå ¬å ±ã®å Žã§ã®éæšæºçãªç¶æ³ã®èªåæ€åºã«é¢é£ããŠããŸãïŒèª°ããç æ°ã«ãªã£ããã誰ããééã£ãå Žæã§å«ç ãããã人ãã¬ãŒã«ã«èœã¡ãããªã©-ãããªåæã·ã¹ãã ã®ãããã®ãã¿ãŒã³ã¯ãã¹ãŠãAPI VisionãéããŠèªèã§ããŸãã
2.6ã ã¯ãŒã¯ãããŒ
çŸåšéçºäžã®Visionã®ãã1ã€ã®èå³æ·±ãå°æ¥ã®ã¢ããªã±ãŒã·ã§ã³ã¯ãããã¥ã¡ã³ãã®èªèãšããŒã¿ããŒã¹ãžã®èªå解æã§ãã ç¡éã®ã·ãªãŒãºãçªå·ãçºè¡æ¥ãå£åº§çªå·ãéè¡å£åº§ã®è©³çŽ°ãç幎ææ¥ãç幎ææ¥ããã®ä»ã®å€ãã®æ£åŒãªããŒã¿ãæåã§å ¥åããïŒãŸãã¯ããã«æªãããšã«æžã蟌ãïŒä»£ããã«ãããã¥ã¡ã³ããã¹ãã£ã³ããAPIãä»ããŠå®å šãªãã£ãã«çµç±ã§èªåçã«éä¿¡ã§ããŸãã·ã¹ãã ããªã³ã¶ãã©ã€ã§å®è¡ãããã¯ã©ãŠãã§ã¯ããããã®ããã¥ã¡ã³ããèªèããã解æãããããŒã¿ããŒã¹ãžã®èªåå ¥åã«å¿ èŠãªåœ¢åŒã®ããŒã¿ãšãšãã«åçãè¿ãããŸãã ä»æ¥ãVisionã¯ææžïŒPDFãå«ãïŒã®åé¡æ¹æ³ããã§ã«ç¥ã£ãŠããŸãããã¹ããŒããSNILSãTINãåºç蚌ææžãçµå©èšŒææžãªã©ãåºå¥ããŸãã
ãã¡ãããããããã¹ãŠã®ç¶æ³ã§ã¯ããã¥ãŒã©ã«ãããã¯ãŒã¯ã¯ãã®ãŸãŸã§ã¯åŠçã§ããŸããã ãããã®å Žåããç¹å®ã®é¡§å®¢åãã«æ°ããã¢ãã«ãäœæãããå€ãã®èŠå ããã¥ã¢ã³ã¹ãèŠä»¶ãèæ ®ãããããŒã¿ã»ãããéžæããããã¬ãŒãã³ã°ãã¹ãèšå®ãç¹°ãè¿ãããŸãã
3. APIã¯ãŒã¯ãããŒ
ãŠãŒã¶ãŒåãã®Visionã®ãå ¥å£ã²ãŒããã¯REST APIã§ãã å ¥ãå£ã§ã圌ã¯åçããããªãã¡ã€ã«ãããã³ãããã¯ãŒã¯ã«ã¡ã©ããã®ãããŒããã£ã¹ãïŒRTSPã¹ããªãŒã ïŒãæ®ãããšãã§ããŸãã
Visionã䜿çšããã«ã¯ãMail.ru Cloud Solutionsã«ç»é²ã ãã¢ã¯ã»ã¹ããŒã¯ã³ïŒclient_id + client_secretïŒãååŸããå¿ èŠããããŸãã ãŠãŒã¶ãŒèªèšŒã¯ãOAuthãããã³ã«ã䜿çšããŠå®è¡ãããŸãã POSTãªã¯ãšã¹ãã®æ¬æã«ãããœãŒã¹ããŒã¿ãAPIã«éä¿¡ãããŸãã ãããŠãå¿çãšããŠãã¯ã©ã€ã¢ã³ãã¯JSON圢åŒã§APIããèªèçµæãåãåããå¿çã¯æ§é åãããŸããããã«ã¯ãèŠã€ãã£ããªããžã§ã¯ããšãã®åº§æšã«é¢ããæ å ±ãå«ãŸããŸãã
å¿çäŸ
{ "status":200, "body":{ "objects":[ { "status":0, "name":"file_0" }, { "status":0, "name":"file_2", "persons":[ { "tag":"person9" "coord":[149,60,234,181], "confidence":0.9999, "awesomeness":0.45 }, { "tag":"person10" "coord":[159,70,224,171], "confidence":0.9998, "awesomeness":0.32 } ] } { "status":0, "name":"file_3", "persons":[ { "tag":"person11", "coord":[157,60,232,111], "aliases":["person12", "person13"] "confidence":0.9998, "awesomeness":0.32 } ] }, { "status":0, "name":"file_4", "persons":[ { "tag":"undefined" "coord":[147,50,222,121], "confidence":0.9997, "awesomeness":0.26 } ] } ], "aliases_changed":false }, "htmlencoded":false, "last_modified":0 }
çãã«ã¯èå³æ·±ããã©ã¡ãŒã¿ãŒããããŸããããã¯åçã®é¡ã®æ¡ä»¶ä»ããã¯ãŒã«ãã¹ãã§ãããã·ãŒã±ã³ã¹ããæè¯ã®é¡ã·ã§ãããéžæããŸãã ãœãŒã·ã£ã«ãããã¯ãŒã¯äžã§ç»åã䌌ãŠããå¯èœæ§ãäºæž¬ããããã«ããã¥ãŒã©ã«ãããã¯ãŒã¯ããã¬ãŒãã³ã°ããŸããã çµµãè¯ããé¡ãæ»ããã§ããã°ããã»ã©ãæããããå¢ããŸãã
Vision APIã¯ãã¹ããŒã¹ãªã©ã®æŠå¿µã䜿çšããŸãã ããã¯ãããŸããŸãªé¢ã®ã»ãããäœæããããã®ããŒã«ã§ãã ã¹ããŒã¹ã®äŸãšããŠã¯ããã©ãã¯ãªã¹ãããã¯ã€ããªã¹ãã蚪åè ãåŸæ¥å¡ã顧客ãªã©ã®ãªã¹ãããããŸããVisionã®åããŒã¯ã³ã«ã€ããŠãæ倧10åã®ã¹ããŒã¹ãäœæã§ããåã¹ããŒã¹ã¯æ倧5äžäººã®PersonIDãæã€ããšãã§ããŸãã ã ããã«ãã¢ã«ãŠã³ãããšã®ããŒã¯ã³ã®æ°ã¯å¶éãããŠããŸããã
çŸåšãAPIã¯æ¬¡ã®æ€åºããã³èªèæ¹æ³ããµããŒãããŠããŸãã
- èªè/èšå®-é¡ã®å®çŸ©ãšèªèã äžæã®åé¡ã«PersonIDãèªåçã«å²ãåœãŠãæ€åºãããé¡ã®PersonIDãšåº§æšãè¿ããŸãã
- åé€-ç¹å®ã®PersonIDãå人ããŒã¿ããŒã¹ããåé€ããŸãã
- åãæšãŠ-PersonIDããã¹ããŒã¹å
šäœãã¯ãªã¢ããŸããããããã¹ããšããŠäœ¿çšãããå®åçšã«ããŒã¹ããªã»ããããå¿
èŠãããå Žåã«åœ¹ç«ã¡ãŸãã
- æ€åº-ãªããžã§ã¯ããã·ãŒã³ããã³ããŒãã¬ãŒããã¢ãã©ã¯ã·ã§ã³ããã¥ãŒãªã©ã®å®çŸ©ãèŠã€ãã£ããªããžã§ã¯ãã®ã¯ã©ã¹ãšãã®åº§æšãè¿ããŸãã
- ææžã®æ€åº-ãã·ã¢é£éŠã®ç¹å®ã®çš®é¡ã®ææžãæ€åºããŸãïŒãã¹ããŒããsnlsãæ
通ãªã©ãèå¥ããŸãïŒã
ãŸããéããªãOCRãæ§å¥ã幎霢ãææ ã®å€å®ãåååã®èª²é¡ã®è§£æ±ºãã€ãŸãåºèã§ã®ååã®è¡šç€ºãèªåçã«å¶åŸ¡ããæ¹æ³ã®äœæ¥ãçµäºããŸãã å®å šãªAPIããã¥ã¡ã³ãã¯ã https ïŒ //mcs.mail.ru/help/vision-apiã«ãããŸãã
4.çµè«
ãããªãã¯APIãä»ããŠãåçããããªã®é¡èªèã«ã¢ã¯ã»ã¹ã§ããããã«ãªããããŸããŸãªãªããžã§ã¯ããè»ã®çªå·ãã¢ãã©ã¯ã·ã§ã³ãããã¥ã¡ã³ããã·ãŒã³å šäœã®å®çŸ©ããµããŒãããŸãã ã¢ããªã±ãŒã·ã§ã³ã·ããªãª-æµ·ã ãããç§ãã¡ã®ãµãŒãã¹ããã¹ãããŠãæãããªãããŒãªã¿ã¹ã¯ãèšå®ããŠãã ããã æåã®5,000ãã©ã³ã¶ã¯ã·ã§ã³ã¯ç¡æã§ãã ããã¯ããªãã®ãããžã§ã¯ãã®ãæ¬ ããŠããæåããããããŸããã
Visionãžã®ç»é²ããã³æ¥ç¶æã«ãAPIãžã®ã¢ã¯ã»ã¹ãå³åº§ã«ååŸã§ããŸãã ãã¹ãŠã®HabraãŠãŒã¶ãŒ-è¿œå ååŒã®ããã¢ãŒã·ã§ã³ã³ãŒãã ã¢ã«ãŠã³ããç»é²ãããå人ã®ã¡ãŒã«ã¢ãã¬ã¹ãèšå ¥ããŠãã ããïŒ