{"info":{"_postman_id":"c6a7a906-2fb7-499c-b9a8-25849f1673b5","name":"FaceX","description":"<html><head></head><body><p><b>Overview</b><br>\nWelcome to the FaceX API Documentation v2.0.</p>\n<p>If you’re new to FaceX, create an account and follow this guide to get started.</p>\n<p>The FaceX API is built on REST principles. Authenticated users can interact with any of our URIs by using the specified HTTP request method. We recommend and also enforce that our users use SSL encryption by issuing requests through HTTPS. Our global endpoint for all APIs:</p>\n<p><em><a href=\"http://www.facexapi.com\">http://www.facexapi.com</a></em><br>\n<b>FaceX also provides  support to help our users meet the local legal and compliance requirements.</b><br><br>\n<b>Prerequisites</b><br>\nThough we have PHP, NodeJS, Python, Java, C#, Perl and Ruby Sample Codes for our APIs in this documentation, it is always recommended to test the API before integration with your application. For testing, we recommend using cURL.</p>\n<p>Note: cURL comes standard on Mac operating systems. On other OS, you might have to install the same.</p>\n<p>Before you can start using the API, you need to do the following:</p>\n<ol>\n<li>Create a FaceX Account and select a payment plan.</li>\n<li>Configure your APIs to access the User ID given on your Dashboard.</li>\n</ol>\n<p>Note: You will not be able to make requests if your account is deactivated or has reached the API Call limit.\n<br><br></p>\n<p>With FaceX APIs you can now add Face Recognition capabilities to your App using our simple API Calls. Our services are implemented through state-of-the-art Deep learning techniques trained over millions of images to offer you the Highest Accuracy with the quickest turn-around time. Our services are perfect fit for you if you plan to have Face ID, Gender and Age Detection or even for face transformations (Masking/Swapping etc).</p>\n<p>All our services are currently hosted under our own secure cloud, processing with the latest rack of GeForce GPUs, promising you a result within 0.02sec and an up-time of 99.99%.</p>\n<p>The Basic three APIs that we provide in our <b>FaceAPI plans</b> are:</p>\n<ol>\n<li><p>get_image_attr : For detecting faces , gender detection , age range prediction and facial landmark</p>\n</li>\n<li><p>compare_faces  : For comaparing two faces to check if it belongs to the same person</p>\n</li>\n<li><p>get_face_vec   :  Get 128 dimensional feature vector describing a face for recognition and identification purpose.</p>\n</li>\n</ol>\n<p>We also have <b>Face Search Plans</b> using which you can create and search a database easily. The APIs that are active in Face Search plan are:</p>\n<ol>\n<li><p>RawImage_Search : Compare a new image against your created database to recognize a person</p>\n</li>\n<li><p>Base64_Search : Use a base64 image to search your database to recognize a person</p>\n</li>\n<li><p>Add_singleImage: an API to add an image directly into your online Image database for Face Search</p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6700149","collectionId":"c6a7a906-2fb7-499c-b9a8-25849f1673b5","publishedId":"S11Lrcuj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-02T07:53:58.000Z"},"item":[{"name":"get_image_attributes","id":"5997a3ba-fb8a-4695-a4a3-1da9e3cce387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"user_id","value":"c884995e2ffdc8467558","description":"<p>User Id: available on your FaceX Dashboard</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"image_attr","value":"","description":"<p>multipart/base64 encoded image or remote url of image</p>\n","type":"text"}]},"url":"https://www.facexapi.com/get_image_attr","description":"<p><b>Get Image Attributes<b></b></b></p>\n<ol>\n<li><p>Face Detect API/ Get Image Attributes is one of the APIs accessible using <b>FaceAPI plans</b>.</p>\n</li>\n<li><p>Use facial attributes api to detect faces, facial landmark, gender and age.</p>\n</li>\n<li><p>In example request code generated by postman the payload should be changed as:\n<br /></p><pre>payload = {\"image_attr\":\"multipart/base64 encoded image or remote url of image\"}</pre><p></p>\n</li>\n<li><p>We recommend an image resolution no higher than 1024x, since it could slow down the request process. Supported image formats are JPEG/PNG format.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["get_image_attr"],"host":["www","facexapi","com"],"query":[{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br />If bounding box coordinates  are available set values for key 'bboxes' in  format x1,y1,x1+w1,y1+h1 and the API will provided analysis for just one face.</p>\n","type":"text/plain"},"key":"bboxes","value":"120,150,200,250"}],"variable":[]}},"response":[{"id":"462e66c0-17fa-499e-8454-fa08ed1aa5ef","name":"get_image_attributes","originalRequest":{"method":"POST","header":[{"key":"user_id","value":"c884995e2ffdc8467558","description":"User Id: available on your FaceX Dashboard"}],"body":{"mode":"formdata","formdata":[{"key":"image_attr","value":"","description":"multipart/base64 encoded image or remote url of image","type":"text"}]},"url":{"raw":"https://www.facexapi.com/get_image_attr","protocol":"https","host":["www","facexapi","com"],"path":["get_image_attr"],"query":[{"key":"bboxes","value":"120,150,200,250","description":"<i>This parameter is optional.</i> <br>If bounding box coordinates  are available set values for key 'bboxes' in  format x1,y1,x2,y2  .\n'bboxes' values should be passed as string seperated by '&' \nex:\"120,150,200,250&130,180,240,300\" or for just one face pass as \"120,150,200,250\"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 17 Sep 2019 10:43:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"517a7a9ad82fd587-BOM"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"code\": \"1000\",\n    \"success\": true,\n    \"message\": \"Fetched attributes.\",\n    \"data\": {\n        \"attributes\": {\n            \"face_id_0\": {\n                \"age\": \"20-40\",\n                \"face_rectangle\": [\n                    83,\n                    82,\n                    184,\n                    246\n                ],\n                \"gender\": \"male\",\n                \"gender_confidence\": \"0.9929\",\n                \"landmarks\": {\n                    \"faceLandMark\": {\n                        \"LowerLipPoint1\": {\n                            \"x\": 135,\n                            \"y\": 189\n                        },\n                        \"LowerLipPoint2\": {\n                            \"x\": 132,\n                            \"y\": 187\n                        },\n                        \"LowerLipPoint3\": {\n                            \"x\": 128,\n                            \"y\": 185\n                        },\n                        \"LowerLipPoint4\": {\n                            \"x\": 141,\n                            \"y\": 199\n                        },\n                        \"LowerLipPoint5\": {\n                            \"x\": 134,\n                            \"y\": 196\n                        },\n                        \"LowerLipPoint6\": {\n                            \"x\": 131,\n                            \"y\": 194\n                        },\n                        \"LowerLipPoint7\": {\n                            \"x\": 126,\n                            \"y\": 192\n                        },\n                        \"LowerLipPoint8\": {\n                            \"x\": 120,\n                            \"y\": 190\n                        },\n                        \"chin\": {\n                            \"x\": 128,\n                            \"y\": 218\n                        },\n                        \"face_endpoint_0\": {\n                            \"x\": 90,\n                            \"y\": 138\n                        },\n                        \"face_endpoint_1\": {\n                            \"x\": 90,\n                            \"y\": 154\n                        },\n                        \"face_endpoint_10\": {\n                            \"x\": 146,\n                            \"y\": 217\n                        },\n                        \"face_endpoint_11\": {\n                            \"x\": 154,\n                            \"y\": 212\n                        },\n                        \"face_endpoint_12\": {\n                            \"x\": 158,\n                            \"y\": 204\n                        },\n                        \"face_endpoint_13\": {\n                            \"x\": 161,\n                            \"y\": 192\n                        },\n                        \"face_endpoint_14\": {\n                            \"x\": 164,\n                            \"y\": 180\n                        },\n                        \"face_endpoint_15\": {\n                            \"x\": 167,\n                            \"y\": 168\n                        },\n                        \"face_endpoint_16\": {\n                            \"x\": 169,\n                            \"y\": 157\n                        },\n                        \"face_endpoint_2\": {\n                            \"x\": 90,\n                            \"y\": 171\n                        },\n                        \"face_endpoint_3\": {\n                            \"x\": 91,\n                            \"y\": 187\n                        },\n                        \"face_endpoint_4\": {\n                            \"x\": 95,\n                            \"y\": 200\n                        },\n                        \"face_endpoint_5\": {\n                            \"x\": 101,\n                            \"y\": 209\n                        },\n                        \"face_endpoint_6\": {\n                            \"x\": 109,\n                            \"y\": 214\n                        },\n                        \"face_endpoint_7\": {\n                            \"x\": 118,\n                            \"y\": 216\n                        },\n                        \"face_endpoint_9\": {\n                            \"x\": 138,\n                            \"y\": 220\n                        },\n                        \"leftEyeBottom1\": {\n                            \"x\": 119,\n                            \"y\": 133\n                        },\n                        \"leftEyeBottom2\": {\n                            \"x\": 113,\n                            \"y\": 131\n                        },\n                        \"leftEyeLeftCorner\": {\n                            \"x\": 108,\n                            \"y\": 127\n                        },\n                        \"leftEyeRightCorner\": {\n                            \"x\": 123,\n                            \"y\": 131\n                        },\n                        \"leftEyeTop1\": {\n                            \"x\": 119,\n                            \"y\": 125\n                        },\n                        \"leftEyeTop2\": {\n                            \"x\": 114,\n                            \"y\": 124\n                        },\n                        \"leftEyebrowLeftCorner\": {\n                            \"x\": 100,\n                            \"y\": 114\n                        },\n                        \"leftEyebrowMiddle1\": {\n                            \"x\": 125,\n                            \"y\": 109\n                        },\n                        \"leftEyebrowMiddle2\": {\n                            \"x\": 117,\n                            \"y\": 107\n                        },\n                        \"leftEyebrowMiddle3\": {\n                            \"x\": 108,\n                            \"y\": 108\n                        },\n                        \"leftEyebrowRightCorner\": {\n                            \"x\": 133,\n                            \"y\": 114\n                        },\n                        \"mouthLeft\": {\n                            \"x\": 114,\n                            \"y\": 189\n                        },\n                        \"mouthRight\": {\n                            \"x\": 149,\n                            \"y\": 200\n                        },\n                        \"noseLower1\": {\n                            \"x\": 139,\n                            \"y\": 142\n                        },\n                        \"noseLower2\": {\n                            \"x\": 139,\n                            \"y\": 152\n                        },\n                        \"nosePoint1\": {\n                            \"x\": 132,\n                            \"y\": 167\n                        },\n                        \"nosePoint3\": {\n                            \"x\": 139,\n                            \"y\": 171\n                        },\n                        \"noseRootLeft\": {\n                            \"x\": 128,\n                            \"y\": 167\n                        },\n                        \"noseRootRight\": {\n                            \"x\": 142,\n                            \"y\": 173\n                        },\n                        \"noseTip\": {\n                            \"x\": 136,\n                            \"y\": 169\n                        },\n                        \"noseTop1\": {\n                            \"x\": 139,\n                            \"y\": 124\n                        },\n                        \"noseTop2\": {\n                            \"x\": 139,\n                            \"y\": 134\n                        },\n                        \"rightEyeBottom1\": {\n                            \"x\": 158,\n                            \"y\": 145\n                        },\n                        \"rightEyeBottom2\": {\n                            \"x\": 152,\n                            \"y\": 142\n                        },\n                        \"rightEyeLeftCorner\": {\n                            \"x\": 148,\n                            \"y\": 137\n                        },\n                        \"rightEyeRightCorner\": {\n                            \"x\": 161,\n                            \"y\": 143\n                        },\n                        \"rightEyeTop1\": {\n                            \"x\": 153,\n                            \"y\": 134\n                        },\n                        \"rightEyeTop2\": {\n                            \"x\": 159,\n                            \"y\": 136\n                        },\n                        \"rightEyebrowLeftCorner\": {\n                            \"x\": 144,\n                            \"y\": 118\n                        },\n                        \"rightEyebrowMiddle1\": {\n                            \"x\": 164,\n                            \"y\": 124\n                        },\n                        \"rightEyebrowMiddle2\": {\n                            \"x\": 158,\n                            \"y\": 119\n                        },\n                        \"rightEyebrowMiddle3\": {\n                            \"x\": 152,\n                            \"y\": 117\n                        },\n                        \"rightEyebrowRightCorner\": {\n                            \"x\": 168,\n                            \"y\": 132\n                        },\n                        \"underLipPoint3\": {\n                            \"x\": 133,\n                            \"y\": 189\n                        },\n                        \"underLipPoint4\": {\n                            \"x\": 137,\n                            \"y\": 189\n                        },\n                        \"underLipPoint7\": {\n                            \"x\": 129,\n                            \"y\": 192\n                        },\n                        \"underLipPoint8\": {\n                            \"x\": 133,\n                            \"y\": 194\n                        },\n                        \"upperLipPoint1\": {\n                            \"x\": 122,\n                            \"y\": 188\n                        },\n                        \"upperLipPoint10\": {\n                            \"x\": 146,\n                            \"y\": 199\n                        },\n                        \"upperLipPoint2\": {\n                            \"x\": 129,\n                            \"y\": 187\n                        },\n                        \"upperLipPoint5\": {\n                            \"x\": 142,\n                            \"y\": 195\n                        },\n                        \"upperLipPoint6\": {\n                            \"x\": 116,\n                            \"y\": 189\n                        },\n                        \"upperLipPoint9\": {\n                            \"x\": 137,\n                            \"y\": 196\n                        }\n                    }\n                }\n            },\n            \"image_size\": [\n                250,\n                215\n            ]\n        }\n    }\n}"}],"_postman_id":"5997a3ba-fb8a-4695-a4a3-1da9e3cce387"},{"name":"compare_faces","id":"e3a59f7a-8e12-43c9-b887-577771d7e29a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>User Id</p>\n","key":"user_id","value":"c884995e2ffdc8467558"}],"body":{"mode":"formdata","formdata":[{"description":"<p>multipart/base64 encoded image or remote url of image</p>\n","key":"img_1","type":"file","value":null},{"description":"<p>multipart/base64 encoded image or remote url of image</p>\n","key":"img_2","type":"file","value":null}]},"url":"https://www.facexapi.com/compare_faces","description":"<p><b>Compare if two faces belong to same person and gives confidence score</b></p>\n<ol>\n<li><p>Face Compare API (Compare Faces) is one of the APIs accessible using <b>FaceAPI plans</b>.</p>\n</li>\n<li><p>Returns a confidence value which is greater than 0.6 then it is a match</p>\n</li>\n<li><p>For better results,face standard such as 90 pixels from eye to eye is required.</p>\n</li>\n<li><p>In example request code generated by postman the payload should be changed as:</p>\n<pre>payload = {\"img_1\":\"multipart/base64 encoded image or remote url of image\",\"img_2\":\"multipart/base64 encoded image or remote url of image\"}</pre>\n</li>\n<li><p>We recommend an image resolution no higher than 1024x1024, as it could slow down the request process. Supported image formats are JPEG/PNG format.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["compare_faces"],"host":["www","facexapi","com"],"query":[{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br />If bounding box coordinates  are available set 'face_det' to '0' and set values for key 'bboxes' in  format x1,y1,x2,y2  .\nWhen specifying both bboxes value: bboxes_1=590,119,832,452&amp;bboxes_2=601,58,772,313</p>\n","type":"text/plain"},"key":"bboxes_1","value":"590,119,832,452"},{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br />If bounding box coordinates  are available set 'face_det' to '0' and set values for key 'bboxes' in  format x1,y1,x2,y2  .\nWhen specifying both bboxes value: bboxes_1=590,119,832,452&amp;bboxes_2=601,58,772,313</p>\n","type":"text/plain"},"key":"bboxes_2","value":"601,58,772,313"}],"variable":[]}},"response":[{"id":"cb1eb4d0-3111-4746-bfbb-035e6a056119","name":"POST Face Compare","originalRequest":{"method":"POST","header":[{"key":"user_id","value":"c884995e2ffdc8467558","description":"User Id"}],"body":{"mode":"formdata","formdata":[{"key":"img_1","value":"https://cdn.dnaindia.com/sites/default/files/styles/full/public/2018/03/08/658858-577200-katrina-kaif-052217.jpg","description":"multipart/base64 encoded image or remote url of image","type":"text"},{"key":"img_2","value":"https://cdn.somethinghaute.com/wp-content/uploads/2018/07/katrina-kaif.jpg","description":"multipart/base64 encoded image or remote url of image","type":"text"}]},"url":{"raw":"https://www.facexapi.com/compare_faces","protocol":"https","host":["www","facexapi","com"],"path":["compare_faces"],"query":[{"key":"bboxes_1","value":"590,119,832,452","disabled":true},{"key":"bboxes_2","value":"601,58,772,313","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"name":"content-length","key":"content-length","value":"34","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"text/html; charset=utf-8","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 05 Sep 2018 07:42:55 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Werkzeug/0.14.1 Python/2.7.12","description":"A name for the server"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"ok\",\r\n    \"code\": \"1000\",\r\n    \"success\": false,\r\n    \"message\": \"Fetched confidence value.\",\r\n    \"data\": {\r\n        \"confidence\": \"0.705474351576\"\r\n    }\r\n}"}],"_postman_id":"e3a59f7a-8e12-43c9-b887-577771d7e29a"},{"name":"match_faces","id":"e50f94e3-1fef-4dc4-9d1a-b321b8c15cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>User Id</p>\n","key":"user_id","value":"c884995e2ffdc8467558"}],"body":{"mode":"formdata","formdata":[{"description":"<p>multipart/base64 encoded image or remote url of image</p>\n","key":"img_1","type":"file","value":null},{"description":"<p>multipart/base64 encoded image or remote url of image</p>\n","key":"img_2","type":"file","value":null}]},"url":"https://www.facexapi.com/match_faces","description":"<p><b>Match if two faces belong to same person and get the Euclidean Distance and match result</b></p>\n<ol>\n<li><p>Face Match API (Match Faces) is one of the APIs accessible using <b>FaceAPI plans</b>.</p>\n</li>\n<li><p>Returns the exact Euclidean distance between the provided faces and a 'Match/Not a Match' result.</p>\n</li>\n<li><p>If Euclidean distance is less than the current Threshold(0.5), it is a match. If it is more than the current Threshold, the faces are not a match. </p>\n</li>\n<li><p>For better results,face standard such as 90 pixels from eye to eye is required.</p>\n</li>\n<li><p>In example request code generated by postman the payload should be changed as:</p>\n<pre>payload = {\"img_1\":\"multipart/base64 encoded image or remote url of image\",\"img_2\":\"multipart/base64 encoded image or remote url of image\"}</pre>\n</li>\n<li><p>We recommend an image resolution no higher than 1024x1024, as it could slow down the request process. Supported image formats are JPEG/PNG format.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["match_faces"],"host":["www","facexapi","com"],"query":[{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br />If bounding box coordinates  are available set 'face_det' to '0' and set values for key 'bboxes' in  format x1,y1,x2,y2  .\nWhen specifying both bboxes value: bboxes_1=590,119,832,452&amp;bboxes_2=601,58,772,313</p>\n","type":"text/plain"},"key":"bboxes_1","value":"590,119,832,452"},{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br />If bounding box coordinates  are available set 'face_det' to '0' and set values for key 'bboxes' in  format x1,y1,x2,y2  .\nWhen specifying both bboxes value: bboxes_1=590,119,832,452&amp;bboxes_2=601,58,772,313</p>\n","type":"text/plain"},"key":"bboxes_2","value":"601,58,772,313"}],"variable":[]}},"response":[{"id":"6b3085a5-36d1-4d42-90ea-ef6ba98af849","name":"POST Face Match","originalRequest":{"method":"POST","header":[{"key":"user_id","value":"c884995e2ffdc8467558","description":"User Id"}],"body":{"mode":"formdata","formdata":[{"key":"img_1","value":"https://cdn.dnaindia.com/sites/default/files/styles/full/public/2018/03/08/658858-577200-katrina-kaif-052217.jpg","description":"multipart/base64 encoded image or remote url of image","type":"text"},{"key":"img_2","value":"https://cdn.somethinghaute.com/wp-content/uploads/2018/07/katrina-kaif.jpg","description":"multipart/base64 encoded image or remote url of image","type":"text"}]},"url":{"raw":"https://www.facexapi.com/match_faces?bboxes_1=590,119,832,452&bboxes_2=601,58,772,313","protocol":"https","host":["www","facexapi","com"],"path":["match_faces"],"query":[{"key":"bboxes_1","value":"590,119,832,452"},{"key":"bboxes_2","value":"601,58,772,313"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"name":"content-length","key":"content-length","value":"34","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"text/html; charset=utf-8","description":"The mime type of this content"},{"name":"date","key":"date","value":"Wed, 05 Sep 2018 07:42:55 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Werkzeug/0.14.1 Python/2.7.12","description":"A name for the server"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"notok\",\r\n    \"code\": \"1000\",\r\n    \"success\": false,\r\n    \"message\": \"Fetched confidence value.\",\r\n    \"data\": {\r\n        \"score\": \"0.4390673101737727\",\r\n        \"status\": \"match\"\r\n    }\r\n}"}],"_postman_id":"e50f94e3-1fef-4dc4-9d1a-b321b8c15cb4"},{"name":"get_face_vec","id":"a14c3f0f-f46c-47cd-b25c-2e2f43453959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>User Id </p>\n","key":"user_id","value":"c884995e2ffdc8467558"}],"body":{"mode":"formdata","formdata":[{"description":"<p>multipart/base64 encoded image or remote url of image</p>\n","key":"img","type":"file","value":null}]},"url":"https://www.facexapi.com/get_face_vec","description":"<p><b>Get 128-D feature vector extracted from the face.</b></p>\n<ol>\n<li><p>Face Vector API (get face vec) is the one of the APIs accessible using <b>FaceAPI plans</b>.</p>\n</li>\n<li><p>Upload a image containing face</p>\n</li>\n<li><p>Feature vector of one person can be compared with feature vector of another person using euclidean distance:If F1 and F2 are feature vector corresponding to two faces then:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>     if euclidean(F1,F2)&gt;Threshold(=0.6):\n            Same Person\n   \n</code></pre></li>\n<li><p>Example:</p>\n</li>\n</ol>\n<p>  Feature vector = [-0.133286, 0.0671902, 0.0648706, ............., -0.0325235, -0.0260845, 0.0237684, -0.0272609, -0.106857]</p>\n<ol>\n<li>In example request code generated by postman the payload should be changed as:<br /><pre>payload = {\"img\":\"multipart/base64 encoded image or remote url of image\"}</pre></li>\n<li>We recommend an image resolution no higher than 1024x, since it could slow down the request process. Supported image formats are JPEG/PNG format.</li>\n</ol>\n","urlObject":{"protocol":"https","path":["get_face_vec"],"host":["www","facexapi","com"],"query":[{"disabled":true,"description":{"content":"<p><i>This parameter is optional.</i> <br /> If bounding box coordinates  are available set 'face_det' to '0' and set values for key 'bboxes' in  format x1,y1,x2,y2  .\n'bboxes' values should be passed as string</p>\n","type":"text/plain"},"key":"bboxes","value":"130,180,240,300"}],"variable":[]}},"response":[{"id":"601eb1bc-353c-4a15-8d27-9291ff9a7684","name":"POST Face Vector","originalRequest":{"method":"POST","header":[{"key":"user_id","value":"c884995e2ffdc8467558"}],"body":{"mode":"formdata","formdata":[{"key":"img","value":"https://130513-375933-1-raikfcquaxqncofqfm.stackpathdns.com/wp-content/uploads/2014/05/Katrina-Kaif.jpg","type":"text"}]},"url":{"raw":"https://www.facexapi.com/get_face_vec","protocol":"https","host":["www","facexapi","com"],"path":["get_face_vec"],"query":[{"key":"bboxes","value":"286,118,403,246","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"name":"content-length","key":"content-length","value":"1413","description":"The length of the response body in octets (8-bit bytes)"},{"name":"content-type","key":"content-type","value":"text/html; charset=utf-8","description":"The mime type of this content"},{"name":"date","key":"date","value":"Tue, 04 Sep 2018 14:04:33 GMT","description":"The date and time that the message was sent"},{"name":"server","key":"server","value":"Werkzeug/0.14.1 Python/2.7.12","description":"A name for the server"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"code\": \"1000\",\n    \"success\": true,\n    \"message\": \"Fetched vector data.\",\n    \"data\": {\n        \"vector\": [\n            -0.011341641657054424,\n            0.08117026835680008,\n            0.1017049178481102,\n            0.011553667485713959,\n            -0.09015420079231262,\n            -0.0267498716711998,\n            -0.07687419652938843,\n            -0.0016163140535354614,\n            0.11382391303777695,\n            -0.0529150515794754,\n            0.20589889585971832,\n            -0.062347959727048874,\n            -0.2564617991447449,\n            0.02709525264799595,\n            -0.044356510043144226,\n            0.13556212186813354,\n            -0.13586893677711487,\n            -0.07234562188386917,\n            -0.07280129194259644,\n            -0.07507473230361938,\n            0.033282458782196045,\n            0.04982459917664528,\n            0.0086880624294281,\n            0.003185182809829712,\n            -0.08865880966186523,\n            -0.3256792426109314,\n            -0.08157075941562653,\n            -0.11018770188093185,\n            0.08602210879325867,\n            -0.11088859289884567,\n            -0.04259322211146355,\n            0.047645002603530884,\n            -0.13635148108005524,\n            0.007534697651863098,\n            0.020265430212020874,\n            0.01582367904484272,\n            0.008949582464993,\n            -0.07833364605903625,\n            0.1581016629934311,\n            0.024570206180214882,\n            -0.17856352031230927,\n            -0.026066312566399574,\n            0.024043027311563492,\n            0.2541264295578003,\n            0.17914694547653198,\n            0.07668611407279968,\n            -0.0008084627334028482,\n            -0.12093596905469894,\n            0.08662543445825577,\n            -0.25063183903694153,\n            0.0808132141828537,\n            0.1516159474849701,\n            0.06869978457689285,\n            0.12035796046257019,\n            0.08071427047252655,\n            -0.18581321835517883,\n            0.05961751192808151,\n            0.10765890777111053,\n            -0.13378861546516418,\n            0.06281229853630066,\n            0.04175589606165886,\n            -0.047936178743839264,\n            -0.009687285870313644,\n            -0.12917323410511017,\n            0.21859793365001678,\n            0.03240492194890976,\n            -0.08200675249099731,\n            -0.1337975561618805,\n            0.08779273927211761,\n            -0.16444827616214752,\n            -0.06232459098100662,\n            0.10039301961660385,\n            -0.11676086485385895,\n            -0.15804815292358398,\n            -0.29507696628570557,\n            0.07546336203813553,\n            0.38612100481987,\n            0.19306892156600952,\n            -0.1769564002752304,\n            0.0528012290596962,\n            -0.03496059775352478,\n            -0.04010695219039917,\n            0.08395075798034668,\n            0.07178755849599838,\n            -0.10059662163257599,\n            -0.0265410915017128,\n            -0.08052121102809906,\n            0.008838571608066559,\n            0.19628146290779114,\n            -0.09066340327262878,\n            0.01908569596707821,\n            0.17810283601284027,\n            -0.07006068527698517,\n            0.05782817304134369,\n            -0.022532189264893532,\n            0.006756827235221863,\n            -0.10694628953933716,\n            0.033520519733428955,\n            -0.06673049181699753,\n            -0.044007036834955215,\n            0.09890761226415634,\n            -0.11971335858106613,\n            -0.007484324276447296,\n            0.09917443990707397,\n            -0.24463440477848053,\n            0.09777485579252243,\n            -0.024492360651493073,\n            -0.04840309917926788,\n            0.07768605649471283,\n            0.02750702202320099,\n            -0.08518373966217041,\n            -0.033782027661800385,\n            0.223777174949646,\n            -0.26254236698150635,\n            0.22564974427223206,\n            0.21741625666618347,\n            0.06844833493232727,\n            0.1256687045097351,\n            0.061832550913095474,\n            0.1408090889453888,\n            -0.05879995971918106,\n            -0.031428344547748566,\n            -0.16360192000865936,\n            -0.03466491401195526,\n            0.07087242603302002,\n            -0.03249073773622513,\n            -0.03233305737376213,\n            0.007457769475877285\n        ]\n    }\n}"}],"_postman_id":"a14c3f0f-f46c-47cd-b25c-2e2f43453959"},{"name":"Face Search: Add single Image to Image Database","id":"ec3e524c-872a-473b-845c-80716cce8a6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"<p>Raw image File with Single face (please ensure unique file name)</p>\n","type":"file","value":null},{"key":"user_id","value":"c884995e2ffdc8467558","description":"<p>User id as provided in your user dashboard</p>\n","type":"text"},{"key":"name","value":"Person's Name","description":"<p>Name to be added to Dashboard</p>\n","type":"text"}]},"url":"https://search.facex.io:8443/images/singleImage/","description":"<p><b>Add SingleImage to your online database</b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database. </p>\n</li>\n<li><p><b>Add singleImage API</b> allows you to add an Image file directly into your online Image Database through a Post Request</p>\n</li>\n<li><p>The API will work as long as you have an active Face Search Plan and you have not exceeded your database limit</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["images","singleImage",""],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[{"id":"5d561ccb-8ff9-41a4-a189-3f4afa94a057","name":"Face Search API: Add single Image to Image Database","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"Raw image File with Single face (please ensure unique file name)","type":"file","value":null},{"key":"user_id","value":"c884995e2ffdc8467558","description":"User id as provided in your user dashboard","type":"text"},{"key":"name","value":"Person's Name","description":"Name to be added to Dashboard","type":"text"}]},"url":"https://search.facex.io:8443/images/singleImage/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"code\": \"1000\",\n    \"success\": true,\n    \"message\": \"Added image to batch.\",\n    \"data\": {\n        \"image_id\": \"5bbbbBbbbBbBBbbbbbbbbbbB\"\n    }\n}"}],"_postman_id":"ec3e524c-872a-473b-845c-80716cce8a6f"},{"name":"Face Seach: Raw Image Search","id":"21107ef3-f3ce-43b7-b832-0d746f93cf7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Raw Image</p>\n","key":"image","type":"file","value":null},{"description":"<p>User Id available in your FaceX Dashboard</p>\n","key":"user_id","type":"text","value":"c884995e2ffdc8467558"}]},"url":"https://search.facex.io:8443/auth/searchWithRawImage","description":"<p><b>Search your online database using an Image file</b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database directly from the user portal. </p>\n</li>\n<li><p>After the Database is created, you can compare a new photo against all the registered faces to find the person's identity</p>\n</li>\n<li><p><b>Search by Raw Image API</b> allows you to provide an Image file as input and get 3 closest matches from your database as output</p>\n</li>\n<li><p>Along with the File Name and Registered Name of the closest possible matchs, the API will also provide Euclidian distance as output. </p>\n</li>\n<li><p>Only if the <b>Euclidian distance is less than 0.5</b>, can the provided result be considered as a possible match</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["auth","searchWithRawImage"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"21107ef3-f3ce-43b7-b832-0d746f93cf7b"},{"name":"Face Search:  Base64 Search","id":"6f68f938-fed5-49cf-a5f2-6b96e2892996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"image_encoded\": \"base64_image\"\r\n        \"user_id\" : \"c884995e2ffdc8467558\"\r\n      }"},"url":"https://search.facex.io:8443/auth/searchWithEncodedImage","description":"<p><b>Search your online database using Base64</b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database directly from the user portal. </p>\n</li>\n<li><p>After the Database is created, you can compare a new photo against all the registered faces to find the person's identity</p>\n</li>\n<li><p><b>Search by Base64 API</b> allows you to provide an Image file as input and get 3 closest matches from your database as output</p>\n</li>\n<li><p>When using Base64, please ensure the encoded image has no Imagetag(JGEP,PNG) mentioned in the encoding.</p>\n</li>\n<li><p>Along with the File Name and Registered Name of the closest possible matchs, the API will also provide Euclidian distance as output. </p>\n</li>\n<li><p>Only if the <b>Euclidian distance is less than 0.5</b>, can the provided result be considered as a possible match</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["auth","searchWithEncodedImage"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f68f938-fed5-49cf-a5f2-6b96e2892996"},{"name":"Face Search: URL Search","id":"3b7b567c-82b2-40f6-aebb-2054da077bb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_id","value":"","type":"text"},{"key":"image","value":"","type":"text"}]},"url":"https://search.facex.io:8443/images/search","description":"<p><b>Search your online database using an URL or Base64 </b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database directly from the user portal. </p>\n</li>\n<li><p>After the Database is created, you can compare a new photo against all the registered faces to find the person's identity</p>\n</li>\n<li><p><b>URL Search</b> allows you to provide an Image URL as input and get 3 closest matches from your database as output</p>\n</li>\n<li><p>Along with the File Name and Registered Name of the closest possible matchs, the API will also provide Euclidian distance as output. </p>\n</li>\n<li><p>Only if the <b>Euclidian distance is less than 0.5</b>, can the provided result be considered as a possible match</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["images","search"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b7b567c-82b2-40f6-aebb-2054da077bb5"},{"name":"Face Search: Delete Image from Database","id":"b698b55f-c124-4acf-9b1d-e288d2dca4ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_id","type":"text","value":""},{"key":"image_id","type":"text","value":""}]},"url":"https://search.facex.io:8443/images/deleteImageFromDB","description":"<p><b>Delete an image from your online database </b></p>\n<ol>\n<li><p>You can delete an image directly from your online database. </p>\n</li>\n<li><p>When an image is added to the image database, a unique image_id is provided which is associated with that image.</p>\n</li>\n<li><p><b>deleteImageFromDB</b> allows you to delete an image using the image_id</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["images","deleteImageFromDB"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[{"id":"85f6d6fd-6869-4c9e-b675-ed682cf981be","name":"Face Search: Delete Image from Database","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"user_id","type":"text","value":""},{"key":"image_id","type":"text","value":""}]},"url":"https://search.facex.io:8443/images/deleteImageFromDB"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"ok\",\r\n    \"code\": \"1000\",\r\n    \"success\": true,\r\n    \"message\": \"User image removed .\",\r\n    \"data\": {\r\n        \"result\": {\r\n            \"_id\": \"user_id\",\r\n            \"file_name\": \"file_name.jpg\",\r\n            \"file_directory\": \"original_url\",\r\n            \"fullvector\": \"vector_data\",\r\n            \"user_id\": \"your_user_id\",\r\n            \"index_value\": 000,\r\n            \"batch_id\": \"Batch_id\",\r\n            \"person_name\": \"Name_added\",\r\n            \"createdAt\": \"Created date\",\r\n            \"updatedAt\": \"Deleted date\",\r\n            \"__v\": 0\r\n        }\r\n    }\r\n}"}],"_postman_id":"b698b55f-c124-4acf-9b1d-e288d2dca4ed"},{"name":"Face Search: Add single Image with UID to Image Database","id":"c85ba919-7f26-4427-8050-e54077c4abed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Raw image File with Single face (please ensure unique file name)</p>\n","key":"image","type":"file","value":null},{"description":"<p>User id as provided in your user dashboard</p>\n","key":"user_id","type":"text","value":"c884995e2ffdc8467558"},{"description":"<p>Name to be added to Dashboard</p>\n","key":"name","type":"text","value":"Person's Name"},{"key":"UID","value":"Unique ID (email or Employee ID)","description":"<p>Unique ID for registering multiple photos for one person</p>\n","type":"text"}]},"url":"https://search.facex.io:8443/images/singleImageWithUID","description":"<p><b>Add SingleImage to your online database</b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database. </p>\n</li>\n<li><p><b>Add singleImagewithUID API</b> allows you to add an Image file directly into your online Image Database through a Post Request along with the Unique ID the person has to be registered under</p>\n</li>\n<li><p>The API will work as long as you have an active Face Search Plan and you have not exceeded your database limit</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["images","singleImageWithUID"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[{"id":"c8aec0a0-4534-4836-971e-086307366e6c","name":"Face Search API: Add single Image with UID to Image Database","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","description":"Raw image File with Single face (please ensure unique file name)","type":"file","value":null},{"key":"user_id","value":"c884995e2ffdc8467558","description":"User id as provided in your user dashboard","type":"text"},{"key":"name","value":"Person's Name","description":"Name to be added to Dashboard","type":"text"},{"key":"UID","value":"Unique ID (email or Employee ID)","description":"Unique ID for registering multiple photos for one person","type":"text"}]},"url":"https://search.facex.io:8443/images/singleImageWithUID"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ok\",\n    \"code\": \"1000\",\n    \"success\": true,\n    \"message\": \"Added image to batch.\",\n    \"data\": {\n        \"image_id\": \"5bbbbBbbbBbBBbbbbbbbbbbB\"\n    }\n}"}],"_postman_id":"c85ba919-7f26-4427-8050-e54077c4abed"},{"name":"Face Seach: Search by UID","id":"fc78f332-b2fa-4d54-9dcd-e1e9dfab4b95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p>Raw Image</p>\n","key":"image","type":"file","value":null},{"description":"<p>User Id available in your FaceX Dashboard</p>\n","key":"user_id","type":"text","value":"c884995e2ffdc8467558"},{"key":"uid","value":"","description":"<p>Unique ID for registering multiple photos for one person</p>\n","type":"text"}]},"url":"https://search.facex.io:8443/auth/searchWithUID","description":"<p><b>Search your online database using an Image file &amp; Unique ID</b></p>\n<ol>\n<li><p>Once you have an active <b>Face Search Plan</b> you can create an online database directly from the user portal. </p>\n</li>\n<li><p>After the Database is created, you can compare a new photo against photos registered under a unique ID(UID) to authenticate the person's identity</p>\n</li>\n<li><p><b>Search by UID</b> allows you to provide an Image file and a previously registered Unique ID (UID) as input and determine if the image matches the photos registered to the UID </p>\n</li>\n<li><p>Along with the File Name and Registered Name of the closest possible matchs, the API will also provide Euclidian distance as output. </p>\n</li>\n<li><p>Only if the <b>Euclidian distance is less than 0.5</b>, can the provided result be considered as a possible match</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","port":"8443","path":["auth","searchWithUID"],"host":["search","facex","io"],"query":[],"variable":[]}},"response":[{"id":"6cccd267-bcf3-4abd-acfa-af35d4c609cb","name":"Face Seach: Search by UID","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"Raw Image","key":"image","type":"file","value":null},{"description":"User Id available in your FaceX Dashboard","key":"user_id","type":"text","value":"c884995e2ffdc8467558"},{"key":"uid","value":"","description":"Unique ID for registering multiple photos for one person","type":"text"}]},"url":"https://search.facex.io:8443/auth/searchWithUID"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": \"ok\",\r\n    \"code\": \"1000\",\r\n    \"success\": true,\r\n    \"message\": \"Success.\",\r\n    \"data\": {\r\n        \"user\": [\r\n            {\r\n                \"_id\": \"5XXXXX\",\r\n                \"file_name\": \"name.jpeg\",\r\n                \"file_directory\": \"directory\",\r\n                \"fullvector\": \"vector\",\r\n                \"user_id\": \"\",\r\n                \"index_value\": 134,\r\n                \"batch_id\": \"Batch_id\",\r\n                \"person_name\": \"name\",\r\n                \"email\": \"xx2\",\r\n                \"createdAt\": \"2020-05-29T08:23:04.289Z\",\r\n                \"updatedAt\": \"2020-05-29T08:23:04.289Z\",\r\n                \"__v\": 0,\r\n                \"distance\": 0\r\n            }\r\n        ]\r\n    }\r\n}"}],"_postman_id":"fc78f332-b2fa-4d54-9dcd-e1e9dfab4b95"}],"event":[{"listen":"prerequest","script":{"id":"f031beae-75b8-43a2-8394-245a86887255","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9faeb186-9b76-40a9-a18c-19b4a50f5bc8","type":"text/javascript","exec":[""]}}]}