egirlskey/packages/backend/src/models/repositories
syuilo e560601815
feat: auto nsfw detection (#8840)
* feat: auto nsfw detection

* ✌️

* Update ja-JP.yml

* Update ja-JP.yml

* ポルノ判定のしきい値を高めに

* エラーハンドリングちゃんとした

* Update ja-JP.yml

* 感度設定を強化

* refactor

* feat: add video support for auto nsfw detection

* rename: image -> media

* .js

* fix: add missing error handling

* fix: use valid pathname instead of using filename due to invalid usage

* perf(nsfw-detection): decode frames

* disable detection of video for some reasons

* perf(nsfw-detection): streamify detection process for video

* disable disallowUploadWhenPredictedAsPorn option

* fix(nsfw-detection): improve reliability

* fix(nsfw-detection): use Math.ceil instead of Math.round

* perf(nsfw-detection): delete tmp frames after used

* fix(nsfw-detection): FSWatcher does not emit ready event

* perf(nsfw-detection): skip black frames

* refactor: strip exists check

* Update package.json

* めっちゃ変えた

* lint

* Update COPYING

* オプションで動画解析できるように

* Update yarn.lock

* Update CHANGELOG.md

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
..
abuse-user-report.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
antenna.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
app.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
auth-session.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
blocking.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
channel.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
clip.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
drive-file.ts use node 16 2022-06-04 17:26:56 +09:00
drive-folder.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
emoji.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
follow-request.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
following.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
gallery-like.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
gallery-post.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
hashtag.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
instance.ts fix(api): add missing themeColor property of instance 2022-06-28 10:40:49 +09:00
messaging-message.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
moderation-logs.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
muting.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note-favorite.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note-reaction.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
note.ts chore: synchronize visibility checks (#8687) 2022-06-11 16:14:44 +09:00
notification.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
page-like.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
page.ts refactor: fix type 2022-04-17 12:59:41 +09:00
relay.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
signin.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-group-invitation.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-group.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-list.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00