Applied Computational Intelligence and Soft Computing / 2018 / Article / Psdc 1

Research Article

Explicit Content Detection System: An Approach towards a Safe and Ethical Environment

Pseudocode 1

Image content based system.
FUNCTION ImageModule(ImageFilePath)
IF extension is NOT a legitimate image extension
//label the file as SUSPICIOUS
ELSE
Image.Encode(); /Encode it to base64 String
Base64 String passed to the web service.
The Web Service would return the probability of the
Image i.e either file is NSFW or SFW. /
IF returnedProbabiltyValue>= 0.6 AND < 0.7 THEN
model.status = LOW; / Image contains low Level Explicit Content /
ELSE IF returnedProbabiltyValue>= 0.7 AND < 0.8 THEN
model.status = MEDIUM; / Image Contains Medium Level Explicit Content /
ELSE IF returnedProbabiltyValue>= 0.8 AND < 1 THEN
model.status = HIGH; / Image Contains High Level Explicit Content /
ELSE
model.status = Non_Explicit; / Image Doesn’t contain any Explicit Content /
ENDFUNCTION

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.