hippofish/packages/backend/src/services/drive
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
..
add-file.ts feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
delete-file.ts delete needless instance drive columns 2022-03-07 21:20:14 +09:00
generate-video-thumbnail.ts fix: GenerateVideoThumbnail (#8825) 2022-06-14 23:02:14 +09:00
image-processor.ts enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション (#8216) 2022-04-28 11:14:03 +09:00
internal-storage.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
logger.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
s3.ts fix esm 2022-03-01 03:34:40 +09:00
upload-from-url.ts feat: Log user ips (#8872) 2022-07-02 15:12:11 +09:00