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.
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.
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)...
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
.
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'
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'
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
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
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)
}
});
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)
}
}
);
$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;
$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;