calckey/packages/backend/src
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
..
@types use http-signature module that supports hs2019 (#8635) 2022-05-26 09:12:17 +09:00
boot enhance: Perform port diagnosis at startup only when Listen fails (#8698) 2022-05-19 11:49:07 +09:00
config enhance: Redisをioredisに統一してIPv6サポート (#8869) 2022-06-24 19:22:19 +09:00
daemons refactor: fix type 2022-04-17 14:42:13 +09:00
db feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
mfm migrate parse5 to 7.0.0 (#8916) 2022-07-01 13:48:03 +09:00
misc feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
models feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
prelude refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
queue feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00
remote fix lints 2022-06-24 12:44:22 +02:00
server feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
services feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
const.ts remove max note text length setting 2022-02-20 16:07:43 +09:00
env.ts refactoring 2021-11-12 02:02:25 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
index.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
types.ts feat: アンケート終了通知 2022-03-06 16:06:27 +09:00