ç¹å®ã®ç»åãäžé©åãã€ãŸãNSFWïŒNot Safe For WorkïŒã§ããããšã«ããã«æ°ã¥ããŸãã ãããã人工ç¥èœã«ã€ããŠã¯ããã¹ãŠãããã»ã©æ確ã§ã¯ãããŸããã å€ãã®äŒæ¥ã¯çŸåšããã®ãããªã³ã³ãã³ããèªåçã«ãã£ã«ã¿ãªã³ã°ããããã®å¹æçãªããŒã«ãéçºããããšããŠããŸãã
åžå Žã®çŸç¶ãç解ãããã£ãã 次ã®ã«ããŽãªã®æ¢åã®ç»åãã£ã«ã¿ãªã³ã°APIã®æå¹æ§ãæ¯èŒããŸãã
- é²éªšãªããŒã
- æçºçãªããŒãïŒã€ãŸããå®å šãªããŒããé£æ³ããã-çŽPerãïŒ
- ãã«ã/æ§äº€
- æš¡å£/ã¢ãã¡ãã«ã
- 解äœïŒæµè¡ïŒ/æŽå
Tl; DRïŒæè¯ã®APIãèŠã€ãããã ããªããããã«èšäºã®æåŸã®æ¯èŒã«è¡ãããšãã§ããŸãã
å®éšæ¡ä»¶
ããŒã¿ã»ãã è©äŸ¡ã®ããã«ãåNSFWãµãã«ããŽãªã«åæ°ã®åçãå«ãNSFWããŒã¿ã»ãããåéããŸããã ããŒã¿ã»ããã¯ãäžèšã®5ã€ã®ã«ããŽãªããšã«20åã®æ£ã®NSFWç»åãå«ã120åã®ç»åãšã20åã®SFWç»åã§æ§æãããŠããŸãã NSFWã³ã³ãã³ãã®å°ºåºŠãšããŠäž»ã«ããŒãã®äœ¿çšã«åºã¥ããŠãããããç§ã¯äžè¬ã«å ¥æå¯èœãªYACVID 180ã¹ã€ãŒãã䜿çšããªãããšã«ããŸããã
NSFWã®åçã®åéã¯éå±ã§ã;ããã¯éåžžã«é·ããå®å šã«çã¿ã䌎ãäœæ¥ã§ãããããã¯å°æ°ã®ç»åã説æããŸãã
ããŒã¿ã»ããã¯ãã¡ãããããŠã³ããŒãã§ããŸã ã [èŠåïŒé²éªšãªå 容ãå«ã]
以äžã¯ãåAPIãšããŒã¿ã»ããå ã®åç»åã®çã®çµæãå«ãè¡šã§ãã
ææš
ååé¡åã¯ãäžè¬ã«åãå ¥ããããŠããã¡ããªãã¯ã«åŸã£ãŠè©äŸ¡ãããŸãã
çã®ããžãã£ãïŒTP
åé¡åãäœãNSFWãåŒã³åºãããããå®éã«NSFWã§ããå Žåã
çã®ãã¬ãã£ãïŒTN
åé¡åãSFWãåŒã³åºãå Žåãããã¯å®éã«ã¯SFWã§ãã
誀æ€ç¥ïŒFP
åé¡åãNSFWãšåŒã°ããå Žåãããã¯å®éã«ã¯SFWã§ãã
åœé°æ§ïŒFN
åé¡åãSFWãåŒã³åºãããå®éã«ã¯NSFWã§ããå Žåã
粟床
ã¢ãã«ãäºæž¬ãè¡ãå Žåãããã¯ä¿¡é Œã§ããŸããïŒ
粟床
ã¢ãã«ãç»åãNSFWã§ãããšèšã£ãŠããå Žåãæ£ããäºæž¬ã¯ã©ã®ãããã®é »åºŠã§ããïŒ
ãªã³ãŒã«
ãã¹ãŠã®ãµã³ãã«ãNSFWã§ããå Žåãã©ã®çšåºŠèå¥ãããŸããïŒ
F1ã¹ã³ã¢
ããã¯ãå€ãã®å Žå粟床ã«äŒŒããšã©ãŒãšãªã³ãŒã«ã®æ··åã§ãã
ã³ã³ãã³ããã¢ãã¬ãŒãããããã®æ¬¡ã®APIãè©äŸ¡ãããŸããã
- Amazon Rekognition
- ã°ãŒã°ã«
- ãã€ã¯ããœãã
- ã€ããŒ
- ã¢ã«ãŽãªãºã
- ã¯ã©ãªãã¡ã€
- ãã£ãŒãã€
- ã€ãã¬
- ããããã
- ãµã€ããšã³ãžã³
- Xã¢ãã¬ãŒã¿ãŒ
ã«ããŽãªãŒå¥ã®ããã©ãŒãã³ã¹
ãŸãããã¹ãŠã®NSFWã«ããŽãªã§åAPIãè©äŸ¡ããŸããã
ãã«ã/ã»ãã¯ã¹
ããã§ã¯ãGoogleãšSightengine APIãéåžžã«åªããŠããŸãã ãã¹ãŠã®ãã«ãç»åãæ£ããèªèããã®ã¯åœŒãã ãã§ããã NanonetsãšAlgorithmiaã¯ã90ïŒ ã®ã¹ã³ã¢ã§ãããã«é ããŠããŸãã MicrosoftãšImaggaã¯ããã®ã«ããŽãªã§ææªã®ããã©ãŒãã³ã¹ã瀺ããŠããŸãã
èå¥ããããç»åã¯æããã«ãã«ãã§ãã ãã¹ãŠã®APIã¯äžèšã®åçãæ£ããèªèããŸããã ãããã®ã»ãšãã©ã¯ãéåžžã«å€§ããªèªä¿¡ãæã£ãŠNSFWãäºæž¬ããŸããã
ç»åãç¹å®ããã®ãé£ãããšãéšåçã«éãããªããžã§ã¯ãããŒããããªããžã§ã¯ããå«ãŸãããããäœæ¥ãé£ãããªããŸãã ææªã®å Žåã12ã®ã·ã¹ãã ã®ãã¡11ãã€ã¡ãŒãžã®ãã¹ãç¯ããŸããã ãã«ãã®èªèã®æå¹æ§ã¯ããã«ãã®åŒ·åºŠãšã³ã³ãã³ããã©ãã ãããèŠãããã«ãã£ãŠå€§ããç°ãªããŸãã
é²éªšãªããŒã
ã»ãšãã©ã®APIã¯ããã®ã«ããŽãªã®å€ãã®ç»åã§é©ãã»ã©è¯å¥œã«æ©èœããæ€åºçã¯100ïŒ ã§ããã æãããã©ãŒãã³ã¹ã®äœãAPIïŒClarifaiããã³AlgorithmiaïŒã§ã90ïŒ ã瀺ããŸããã ããŒãã®å®çŸ©ã¯åžžã«è°è«ã®å¯Ÿè±¡ã§ããã çµæãããããããã«ãã·ã¹ãã ã¯éåžžãã€ã¡ãŒãžããŸã SFWã§ããå¯èœæ§ãé«ãçãããã±ãŒã¹ã§å€±æããŸãã
åçŽãªç»åã§ã¯ãæ瀺çãªããŒããã¯ã£ãããšèŠããŸãã 誰ããééããªãNSFWãšåŒã¶ã§ãããã 1ã€ã®APIããã¹ãç¯ããããã§ã¯ãªããå¹³åã¹ã³ã¢ã¯0.99ã§ããã
ç©è°ãéžãç»åã§ã¯ãAPIã¯ééã£ãŠããŸããã ãã¶ããã®çç±ã¯ãããããã«æ床èšå®ãããããã§ãã
æçºçãªããŒã
Googleã¯100ïŒ ã®æ€åºçã§åã³åã¡ãŸããã ãµã€ããšã³ãžã³ãšãããããã®ããã©ãŒãã³ã¹ã¯ããããã95ïŒ ãš90ïŒ ã§ãä»ã®ãã®ãããåªããŠããŸããã èªååãããã·ã¹ãã ã¯ãé²éªšãªããŒããæ瀺çãšââã»ãŒåããããç°¡åã«èªèããŸãã 圌ãã¯éåžžãSFWã®ããã«èŠããåçãééããŸãããããŒãã®ããããªå åãããããŸããã
ç¹°ãè¿ããŸãããæ瀺çãªNSFWã€ã¡ãŒãžã§APIã誀ã£ãŠããããšã¯ãããŸããã
æ瀺çãªããŒãã§ã¯ãAPIã¯åå²ããŸããã 裞ã®ããã«ã圌ãã¯å¯å®¹ã®ç°ãªãéŸå€ãæã£ãŠããŸããã ç§èªèº«ããããã®SFWç»åãèªèãããã©ããã¯ããããŸããã
æš¡å£/ã¢ãã¡ãã«ã
ããã§ã¯ãã¹ãŠã®APIãéåžžã«åªããããã©ãŒãã³ã¹ã瀺ããã·ãã¥ã¬ãŒãããããã«ãã®100ïŒ ã®äŸãèŠã€ãããŸããã å¯äžã®äŸå€ã¯Imaggaã§ã1ã€ã®ç»åãæ¬ èœããŠããŸããã ãã®ã¿ã¹ã¯ã§APIãããã»ã©ããŸãæ©èœããã®ã¯ãªãã§ããããïŒ ã©ããããã¢ã«ãŽãªãºã ã¯èªç¶ãªç»åããã人工çã«äœæãããç»åãèå¥ããæ¹ãç°¡åã§ãã
ãã¹ãŠã®APIã¯ãåªããçµæãšé«ãä¿¡é Œæ§è©äŸ¡ã瀺ããŸããã
Imaggaãééããå¯äžã®ç»åã¯ãååã«é·ãèŠãªããšãã«ãã§ã¯ãªããšè§£éã§ããŸãã
解å
APIã«ããå¹³åçãªæ€åºå¹çã¯50ïŒ æªæºã§ãã£ããããããã¯æãé£ããã«ããŽãªã®1ã€ã§ãã ClarifaiãšSightengineã¯ããã®ã«ããŽãªã®ç»åã100ïŒ æ£ããæ€åºããããšã§ã競åä»ç€Ÿããã®ãã§ããŸãã
APIã¯å»çç»åãæé©ã«åŠçããŸãããã12ã®ã·ã¹ãã ã®ãã¡4ã€ã§ãæ軜éã§ãã¹ãç¯ããŸããã
é£ããç»åã«ã¯å ±éç¹ã¯ãããŸããã ãããã人ã ã¯éåžžã«ç°¡åã«ãããã®åçãæµè¡ãšåŒã¶ã§ãããã ããã¯ãããããããã©ãŒãã³ã¹ã®äœäžã®åå ããã¬ãŒãã³ã°ã«äœ¿çšã§ããããŒã¿ã®äžè¶³ã§ããããšãæå³ããŸãã
å®å šãªåç
NSFWãšããŠèå¥ã§ããªãç»åã¯å®å šãšèŠãªãããŸãã APIãç解ããã«ã¯ããããã®ã€ã¡ãŒãžãNSFWã«è¿ãå¿ èŠããããããããŒã¿åéèªäœã¯å°é£ã§ãã ããããã¹ãŠã®ã€ã¡ãŒãžãSFWã§ãããã©ãããè°è«ããããšãã§ããŸãã ããã§ã¯ãSightengineãšGoogleãææªã®çµæã瀺ããŸãããããã¯ãä»ã®ã«ããŽãªã§ã®åªããããã©ãŒãã³ã¹ã説æããŠããŸãã 圌ãã¯åã«ãã¹ãŠã®çãããNSFWåçãåŒã³åºããŸãã äžæ¹ãImaggaã¯NSFWãšããååãä»ããŠããªããããããã§è¯ãä»äºãããŸããã Xã¢ãã¬ãŒã¿ãŒãéåžžã«ããŸãæ©èœããŸããã
å ã®ç»åãžã®ãªã³ã¯ïŒ SFW15 ã SFW12 ã SFW6 ã SFW4
èå¥ããããç»åã«ã¯èã®å°ããªãããã®ã¿ã衚瀺ããã人ã¯ããããSFWãšããŠç°¡åã«èå¥ã§ããŸãã 1ã€ãŸãã¯2ã€ã®ã·ã¹ãã ã ãããããã誀ã£ãŠèªèããŸããã
å ã®ç»åãžã®ãªã³ã¯ïŒ SFW17 ã SFW18 ã SFW10 ã SFW3
èå¥ãå°é£ãªãã¹ãŠã®SFWç»åã¯ãç®èãŸãã¯ã¢ãã¡ã®ãã倧ããªé åã瀺ããŠããŸãïŒã·ã¹ãã ã¯ã¢ãã¡ã®ãã«ããèæ ®ããåŸåããããŸãïŒã ã»ãšãã©ã®APIã¯ãåºåç»åãSFWãšããŠã«ãŠã³ãããŸããã åé¡ã¯ããã®SFWã§ããïŒ
äžè¬çãªæ¯èŒ
NSFWã®ãã¹ãŠã®ã«ããŽãªã§ã®APIã®æå¹æ§ãšãSFWãæ£ããèªèããããšã®æå¹æ§ãèŠããšãNanonetã·ã¹ãã ã®æé«ã®F1çµæãšæé«ã®å¹³å粟床ã¯ããã¹ãŠã®ã«ããŽãªã§å®å®ããŠæ©èœããŠãããšçµè«ä»ããããšãã§ããŸãã Googleã·ã¹ãã ã¯ãNSFWã«ããŽãªã§éåžžã«è¯ãçµæã瀺ããŠããŸãããå®å šãªç»åãNSFWãšããŠããŒã¯ããããšãå€ããããF1ã¡ããªãã¯ã§çœ°éãåãåããŸããã
éçºè ã«ãã
äžäœ5ã€ã®ã·ã¹ãã ã®ç²ŸåºŠãšF1ã¹ã³ã¢ãæ¯èŒããŠãããã©ãŒãã³ã¹ã®éããè©äŸ¡ããŸããã è±åŒå³ã®é¢ç©ã倧ããã»ã©è¯ãã
1.ããããã
Nanonetsã·ã¹ãã ã¯ã©ã®ã«ããŽãªãŒã§ã1äœã«ãªããŸããã§ããã ãã ããããã¯æããã©ã³ã¹ã®åãããœãªã¥ãŒã·ã§ã³ã§ãã ãŸã äœæ¥ã§ããæã匱ãç¹ã¯ãSFWã®èªè粟床ã§ãã 圌ã¯äœã®é²åºéšåã«ææãããŸãã
2. Google
Googleã¯ã»ãšãã©ã®NSFWã«ããŽãªã§æé«ã§ãããSFWæ€åºã§ã¯ææªã§ãã ç§ã¯ãGoogleã§ãã¹ãããããã®ãµã³ãã«ãåããŸãããã€ãŸãã圌女ã¯ãããã®ç»åããç¥ã£ãŠããã¹ãããšããããšã§ãã ããã¯ãã»ãšãã©ã®ã«ããŽãªã§æ¬åœã«åªããããã©ãŒãã³ã¹ãçºæ®ããçç±ã§ãã
3.ã¯ã©ãªãã¡ã€
Clarifaiã¯ãä»ã®ã»ãšãã©ã®APIã«å ç«ã£ãŠã解äœã®æ±ºå®ã«æ¬åœã«èŒããŠãããã·ã¹ãã ããã©ã³ã¹ããããã»ãšãã©ã®ã«ããŽãªã§ããŸãæ©èœããŠããŸãã ãããã圌女ã¯æ瀺çãªããŒãããã«ããèå¥ããæ£ç¢ºããæ¬ ããŠããŸãã
4. Xã¢ãã¬ãŒã¿ãŒ
X-Moderatorã¯ããã©ã³ã¹ã®åãããã1ã€ã®APIã§ãã 解åã«å ããŠãä»ã®ã»ãšãã©ã®ã¿ã€ãã®NSFWãæ確ã«èå¥ããŸãã ãã®ã·ã¹ãã ã競åä»ç€Ÿãšåºå¥ããSFWã®æ±ºå®ã«ããã100ïŒ ã®ç²ŸåºŠã
5.ãµã€ããšã³ãžã³
Googleãšåæ§ã«ãSightengineã·ã¹ãã ã¯NSFWã®ç¹å®ã«ãããŠã»ãŒå®ç§ãªçµæã瀺ããŸããã ãããã圌女ã¯è§£åã®åäžã®ç»åãèªèããŸããã§ããã
äŸ¡æ Œ
APIãéžæããéã®ãã1ã€ã®åºæºã¯äŸ¡æ Œã§ãã ãã¹ãŠã®äŒæ¥ã®äŸ¡æ Œã以äžã«æ¯èŒããŸãã ã»ãšãã©ã®APIã¯ã䜿çšãå¶éãããç¡æè©ŠçšçãæäŸããŠããŸãã Yahooã¯å®å šã«ç¡æã®å¯äžã®APIã§ãããç¬èªã«ãã¹ãããå¿ èŠããããŸãããã®APIã¯ãã®è¡šã«ã¯å«ãŸããŠããŸããã
AmazonãMicrosoftãNanonetsãããã³DeepAIã¯ã100äžåã®APIã³ãŒã«ã«å¯ŸããŠæé¡1,000ãã«ã®æäœäŸ¡æ ŒãæäŸããŠããŸãã
æé«ã®ã³ã³ãã³ãã¢ãã¬ãŒã·ã§ã³APIãšã¯äœã§ããïŒ
NSFWã³ã³ãã³ãã®äž»èŠ³çãªæ§è³ªã«ãããåè ã決å®ããããšã¯å°é£ã§ãã
ã³ã³ãã³ãã®é ä¿¡ã«ããéç¹ã眮ããŠããããã©ã³ã¹ã®ãšããåé¡åšãå¿ èŠãšããäžè¬çãªããŒãã®ãœãŒã·ã£ã«ã¡ãã£ã¢ã®å Žåãåé¡åšã®F1ã®æé«è©äŸ¡ãæã€Nanonets APIã奜ãã§ãããã
ã¢ããªã±ãŒã·ã§ã³ãåäŸã察象ã«ããŠããå ŽåãNSFWã®ãã¹ãŠã®ã«ããŽãªã§ã®æš¡ç¯çãªå¹æã®ããã«ãäžéšã®éåžžã®ã³ã³ãã³ãã倱ãããŠãå®å šã§ãããGoogle APIãéžæããŸãã
NSFWãšã¯äœã§ããïŒ
ãã®åé¡ã«å€ãã®æéãè²»ãããŠã1ã€ã®éèŠãªããšã«æ°ä»ããŸãããå®éãNSFWã®å®çŸ©ã¯éåžžã«ãããŸãã§ãã å人ã«ã¯ç¬èªã®å®çŸ©ããããŸãã 蚱容ããããšèŠãªããããã®-ãµãŒãã¹ãæäŸãããã®ã«å€§ããäŸåããŸãã éšåçãªããŒãã¯ãåºäŒãç³»ã¢ããªã±ãŒã·ã§ã³ã§ã¯åãå ¥ããããŸããããããŒãããã§ã¯åãå ¥ããããŸããã ãããŠãå»åŠéèªã§ã¯ãã®å察ã§ãã æ¬åœã«ç°è²ã®é åã¯ãæ£ããçããåŸãããšãäžå¯èœãªæ瀺çãªããŒãã§ãã