NudityDetector.php
public function isPorn($threshold = FALSE) {
        return $threshold === FALSE
            ? $this->quantifyYCbCr() >= $this->threshold
            : $this->quantifyYCbCr() >= $threshold;
    }
public function isPorn($threshold = FALSE) {
        return $threshold === FALSE
            ? $this->quantifyYCbCr() >= $this->threshold
            : $this->quantifyYCbCr() >= $threshold;
    }
public function isPorn ( $ threshold = FALSE ) { return $ threshold === FALSE ? $ this -> quantifyYCbCr ( ) >= $ this -> threshold : $ this -> quantifyYCbCr ( ) >= $ threshold ; }
Check if image is of pornographic content

@param float $threshold
Check if image is of pornographic content