Commit Graph

62 Commits

Author SHA1 Message Date
syuilo
ed5d81859f 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
syuilo
5ec6594c48 chore(client): tweak style 2022-07-05 16:19:52 +09:00
syuilo
569cc28025 fix(client): style tweak for ios 2022-07-03 16:17:31 +09:00
syuilo
f5593afcd8 chore(client): tweak client 2022-06-26 19:41:21 +09:00
syuilo
519a97bf61 🎨 2022-06-22 00:48:16 +09:00
Andreas Nedbal
f7e6826e22 fix(client): additional background for acrylic popups if unsupported 2022-05-14 15:00:30 +02:00
syuilo
1ed9f31891 🎨 2022-01-14 01:44:08 +09:00
syuilo
560c4f03f1 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo
9c8ca41648 🎨 2021-12-17 16:14:43 +09:00
syuilo
3acf33c387 client: tweak style 2021-12-10 10:46:29 +09:00
syuilo
677f0ad10c client: refine ui 2021-11-28 20:07:37 +09:00
syuilo
14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00