Research Article
Explicit Content Detection System: An Approach towards a Safe and Ethical Environment
Input: a file or a directory | Output: report identifying the SFW, NSFW and Suspicious Content. | FUNCTION ECD | WHILE Directory NOT Fully Traversed | ArrayList<Model> data = getFiles(Paths.get(currentFilePath)); /Getting Allfiles in the selected directory/ | End WHILE | FOREACH model in data | get the data type of each model by using ApacheTika.detect(CurrentFilePath) | End FOREACH | IF CurrentFileisMediaTHEN | IF CurrentFileisImage THEN | ImageModule(); | ELSE IF CurrentFileisVideo THEN | VideoModule(); | ELSE | //IGNORE and Go to next | GenrateReport(); | ENDFUNCTION |
|