sharkey/packages/backend/src/services
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
..
blocking fix: add id for activitypub follows (#8689) 2022-06-04 13:52:42 +09:00
chart fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
drive feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
following fix: Promises -> Promise (#8545) 2022-04-25 15:14:13 +09:00
i refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
messages feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
note fix lints 2022-06-24 12:44:22 +02:00
user-list refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
add-note-to-antenna.ts refactor: remove duplicate code (#8895) 2022-06-27 21:48:10 +09:00
create-notification.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
create-system-user.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
delete-account.ts feat: make possible to delete an account by admin 2022-06-27 23:49:16 +09:00
detect-sensitive.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
fetch-instance-metadata.ts enhance: uniform theme color (#8702) 2022-05-19 09:54:45 +02:00
insert-moderation-log.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
instance-actor.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
push-notification.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
register-or-fetch-instance-doc.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
relay.ts use node 16 2022-06-04 17:26:56 +09:00
send-email-notification.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
send-email.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
stream.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
suspend-user.ts .js 2022-03-25 16:35:24 +09:00
unsuspend-user.ts .js 2022-03-25 16:35:24 +09:00
update-hashtag.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
user-cache.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
validate-email-for-account.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00