Changes

Jump to navigation Jump to search
84 bytes removed ,  13:06, 28 June 2018
Line 315: Line 315:  
This implies applying operations to a source image (not only cropping, but all the others if applicable). We start from a source image (defined by a barcode and incremental id), apply cropping parameters (x1, y1, x2, y2), additional operations (white_magic, normalize)
 
This implies applying operations to a source image (not only cropping, but all the others if applicable). We start from a source image (defined by a barcode and incremental id), apply cropping parameters (x1, y1, x2, y2), additional operations (white_magic, normalize)
 
<br>
 
<br>
   
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_crop.pl</pre>
 
<pre>Test server: https://world.openfoodfacts.net/cgi/product_image_crop.pl</pre>
<pre>Live server: https://world.openfoodfacts.org/cgi/product_image_crop.pl</pre>
   
=====Values=====
 
=====Values=====
 
<pre>
 
<pre>
Line 324: Line 322:  
angle= Angle of the rotation
 
angle= Angle of the rotation
 
normalize = whether the source image should be normalized
 
normalize = whether the source image should be normalized
white_magic = whether the source image should be white magiced ( background removal)
+
white_magic = whether the source image should be white magiced (background removal)
 
type = add
 
type = add
 
action = display
 
action = display

Navigation menu