LoginSignup
4
1

More than 5 years have passed since last update.

掲示板監視api -Rails5でapi作った話(1日かかりませんでした)-

Last updated at Posted at 2017-08-08

紹介

  • 高一がつくるapiにしては、夢がなく、つまりませんw
  • アダルト画像ならアダルト画像を空にして返します

    • そうでない場合はもちろんそのまま返します
    • それと、怪しい場合があるのでアダルトスコア、アダルト判定も返します
  • NGワードを指定し、もし含まれていたら、その部分を***か空にして返します

技術的なこと

azureのcomputer visionマシンラーニングを使ってる

使い方

画像の場合

https://translookout.herokuapp.com/lookouts/cover?image=画像&mode=image

テキストの場合

https://translookout.herokuapp.com/lookouts/cover?message=チェックしたいテキスト&targets[]=NGワード&mode=message

デフォルトだと***で返りますが空がいい場合は&option=falseとしてください

無料なんで是非お使いください

アップデートがあり、subscription _id=freeが、無料の場合必須になりました。

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1