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>
			
			
This commit is contained in:
		
							parent
							
								
									010db2515c
								
							
						
					
					
						commit
						e560601815
					
				
					 39 changed files with 1275 additions and 78 deletions
				
			
		
							
								
								
									
										6
									
								
								COPYING
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								COPYING
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
Unless otherwise stated this repository is
 | 
			
		||||
Copyright © 2014-2020 syuilo and contributers
 | 
			
		||||
Copyright © 2014-2022 syuilo and contributers
 | 
			
		||||
 | 
			
		||||
And is distributed under The GNU Affero General Public License Version 3, you should have received a copy of the license file as LICENSE.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -13,3 +13,7 @@ https://github.com/muan/emojilib/blob/master/LICENSE
 | 
			
		|||
RsaSignature2017 implementation by Transmute Industries Inc
 | 
			
		||||
License: MIT
 | 
			
		||||
https://github.com/transmute-industries/RsaSignature2017/blob/master/LICENSE
 | 
			
		||||
 | 
			
		||||
Machine learning model for sensitive images by Infinite Red, Inc.
 | 
			
		||||
License: MIT
 | 
			
		||||
https://github.com/infinitered/nsfwjs/blob/master/LICENSE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue