Image moderation for e-commerce platforms


Online marketplaces and e-commerce platforms are the best places to gather sellers and people looking for specific products / services. But it’s necessary to keep an eye on products' compliance if you want to strengthen your website’s reputation. PicPurify image moderation service instantly filters illegal products or pictures not compliant with your guidelines.

Remove illegal activities

Don't let dubious content and illegal activites bring discredit to your platform. Our algorithms help you to moderate and ban illegal products from your marketplace: weapons, drugs, hate signs... Illicit contents are removed in real-time.

Respect all guidelines

PicPurify automatically checks the images posted on your website and removes them if they don't comply with your policies: ban artificial texts on pictures (discounts or direct contact info), strengthen adult products guidelines (nudity / porn)...

Most popular models for e-commerce platforms

WEAPONS

Detects and removes weapons
like firearms, knives...

DRUGS

Detects and removes drugs:
cannabis, syringes, glass pipes...

PORN

Detects any obscene images:
private parts, sexual acts...

Use case

As soon as a user posts a picture on your platform, our algorithms automatically analyze it and remove it if there is any sign of weapon, drug or porn. Below an example of POST request for task=weapon_detection,drug_detection,porn_detection.

Check an image from local file system
curl -X POST 'https://www.picpurify.com/analyse.php' -F 'API_KEY=XXX' -F 'task=weapon_detection,drug_detection,porn_detection' -F 'origin_id=xxxxxxxxx' -F 'reference_id=yyyyyyyy' -F 'file_image=@/path/to/local/file.jpg'
Check an image from url publicly accessible from internet
curl -X POST 'https://www.picpurify.com/analyse.php' -F 'API_KEY=XXX' -F 'task=weapon_detection,drug_detection,porn_detection' -F 'origin_id=xxxxxxxxx' -F 'reference_id=yyyyyyyy' -F 'url_image=http://url_image_to_analyse'
Check an image from local file system
picpurify_url = 'https://www.picpurify.com/analyse.php'
img_data = {'file_image': open('/path/to/local/file.jpg', 'rb')}
# if you are using non acsii file names, use the following code instead of the previous line
# img_data = {'file_image': (os.path.basename('/path/to/local/file_speciàl_chàr.jpg').encode('ascii', 'replace'),open('/path/to/local/file_speciàl_chàr.jpg'.decode('utf-8'), 'rb').read())}

result_data = requests.post(picpurify_url,files = img_data, data = {"API_KEY":"XXX", "task":"weapon_detection,drug_detection,porn_detection", "origin_id":"xxxxxxxxx", "reference_id":"yyyyyyyy" })
print result_data.content
Check an image from url publicly accessible from internet
picpurify_url = 'https://www.picpurify.com/analyse.php'
result_url = requests.post(picpurify_url,data = {"url_image":"http://url_image_to_analyse", "API_KEY":"XXX", "task":"weapon_detection,drug_detection,porn_detection", "origin_id":"xxxxxxxxx", "reference_id":"yyyyyyyy"})
print result_url.content
Check an image from local file system
var request = require('request'),
    fs = require('fs');
var picpurifyUrl = 'https://www.picpurify.com/analyse.php';
var imagePath = '/path/to/local/file.jpg'

var data = {
    file_image: fs.createReadStream(imagePath),
    API_KEY: 'XXX',
    task:"weapon_detection,drug_detection,porn_detection",
    origin_id:"xxxxxxxxx", 
    reference_id:"yyyyyyyy" 
   
};

request.post({ url: picpurifyUrl, formData: data }, function (err, httpResponse, body) {
    if (!err && httpResponse.statusCode == 200) {
        console.log(body)
    }
});
Check an image from url publicly accessible from internet
var request = require('request');
var picpurifyUrl = 'https://www.picpurify.com/analyse.php';

request.post(
    picpurifyUrl,
    { form: {url_image:'http://url_image_to_analyse',API_KEY: 'XXX',task:"weapon_detection,drug_detection,porn_detection", origin_id:"xxxxxxxxx", reference_id:"yyyyyyyy" } },
    function (error, response, body) {
        if (!error && response.statusCode == 200) {
            console.log(body)
        }
    }
);
Check an image from local file system

$ch = curl_init();

$image_path = "/path/to/local/file.png";
$mime = "image/png";

$cfile = curl_file_create($image_path,$mime);
$data = array('file_image' => $cfile,
		'API_KEY' => "XXX",
		'task' => 'weapon_detection,drug_detection,porn_detection', 
		 'origin_id' => "xxxxxx",
		 'reference_id' => "yyyyyy"

);

curl_setopt($ch, CURLOPT_URL,'https://www.picpurify.com/analyse.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER , true);
curl_setopt($ch,CURLOPT_SAFE_UPLOAD,true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, 0);

$output = curl_exec($ch);

echo $output;
Check an image from url publicly accessible from internet

$ch = curl_init();

$data = array('url_image' => "http://url_image_to_analyse",
		'API_KEY' => "XXX",
		'task' => 'weapon_detection,drug_detection,porn_detection',
		'origin_id' => "xxxxx",
		'reference_id' => "yyyyyy"

);

curl_setopt($ch, CURLOPT_URL,'https://www.picpurify.com/analyse.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER , true);
curl_setopt($ch,CURLOPT_SAFE_UPLOAD,true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
//curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, 0);

$output = curl_exec($ch);

echo $output;

Convinced?

Sign up now and start using your 2000 free units!