Sharkey/packages/client
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
..
.vscode improve ide support 2021-11-18 23:52:41 +09:00
@types Fix theme import (#8749) 2022-05-28 21:59:23 +09:00
assets feat(client): add tag cloud component 2022-06-29 21:22:15 +09:00
src feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
.eslintrc.js update eslint rules 2022-07-02 23:01:13 +09:00
.npmrc refactoring 2021-11-12 02:02:25 +09:00
.yarnrc use eslint 2021-11-12 10:35:41 +09:00
package.json update deps 2022-07-07 18:28:43 +09:00
tsconfig.json refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
vite.config.ts refactor(client): Refine routing (#8846) 2022-06-20 17:38:49 +09:00
vite.json5.ts refactor: use Vite to build instead of webpack (#8575) 2022-05-01 22:51:07 +09:00
yarn.lock update deps 2022-07-07 18:28:43 +09:00