Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
imagealgorithms:fic [2019/05/17 17:12]
pdufour [3.1. Industry]
imagealgorithms:fic [2020/03/31 17:45]
pdufour [2. How]
Line 18: Line 18:
   * visual indicators: two analytical images are generated for each fine comparison effected. These analytical images indicate the zones within the images in which there are variations.   * visual indicators: two analytical images are generated for each fine comparison effected. These analytical images indicate the zones within the images in which there are variations.
  
-===== - Deliverable ​=====+===== - LTU Core API  ​===== 
 +A LTU API is available to let you fine compare two images.\\
  
-Notre exécutable est compilé sous Debian 7 et 9 (Une liste de dépendances sur l'​architecture sera fourni.). Si une autre architecture est demandé, il faut recompiler la solution (travail conséquent).+POST  https://​prod.ltutech.net/​ltu-core-services/​v1/​computeFIC 
 +\\ 
 +Parameters:  
 +  * image1 : buffer image or URL 
 +  * image2 : buffer image or URL
  
-Deuxième livrablela recette LTU signature 65 (on premise ou SAAS)+The APIS returns a Json result containing 2 images with the score 
 +\\ 
 +\\ 
 +Here a curl example: 
 +<​code>​ 
 +curl -d '​image1=http://​data.onprint.com/​ltu-core-api/​16-1.png'​ -d '​image2=http://​data.onprint.com/​ltu-core-api/​16-2.png'​ -X POST ''​https://​prod.ltutech.net/​ltu-core-services/​v1/​computeFIC'​ 
 +</​code>​ 
 +Example of result : 
 +<​code>​ 
 +
 +  "​content":​ { 
 +    "​query_image":​ "/​9j/​4AAQSkZJRgABAQAAAQABAAD/​…”,​ 
 +    "​ref_image":​ "/​9j/​4AAQSkZJRgABAQAAAQABAAD/​…”,​ 
 +    "​score":​ 1.4694126844406128 
 +  }, 
 +  "​code":​ "​0",​ 
 +  "​message":​ "​ok"​ 
 +}
  
-Mise en route +</​code>​
-Livrable exécutable:​+
  
-Un seul exécutable à utiliser: 
- 
-$ ./​main_ficGraphcut_bin 
-Fine image comparison with graphcut 
-Usage: ./​main_ficGraphcut_bin img1.jpg img2.jpg output.jpg 
  
 ===== - Exemple d’utilisation ===== ===== - Exemple d’utilisation =====
Line 45: Line 61:
 The differences are very thin: The differences are very thin:
   * central point: a 2mm component is not present on the image of the operator   * central point: a 2mm component is not present on the image of the operator
-  * top point: fine stripe on the image of the operator+  * top point in the middle: fine stripe on the image of the operator
   * the other difference are artefact.   * the other difference are artefact.