Skip to content

Instantly share code, notes, and snippets.

@zquestz
Created July 24, 2020 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zquestz/36024a8a5df918bbee3b8505c8a4d158 to your computer and use it in GitHub Desktop.
Save zquestz/36024a8a5df918bbee3b8505c8a4d158 to your computer and use it in GitHub Desktop.
Visionati Sample
{
"request_id": "eafa52f0-aa3d-4637-9155-452a9880f498",
"user_id": 1,
"urls": [
"https://visionati.com/_assets/img/home-hero-wide.jpg"
],
"features": [],
"backends": [],
"tag_score": 0.8,
"capture_interval": 0,
"credits_paid": 1,
"credits": 1144,
"all": {
"assets": [
{
"name": "https://visionati.com/_assets/img/home-hero-wide.jpg",
"tags": {
"adult": [
{
"name": "adult",
"score": 0.9404691
}
],
"business": [
{
"name": "business",
"score": 0.8954533
}
],
"communication": [
{
"name": "communication",
"score": 0.9360308
}
],
"computer": [
{
"name": "computer",
"score": 0.9532111
}
],
"connection": [
{
"name": "connection",
"score": 0.9040891
}
],
"indoors": [
{
"name": "indoors",
"score": 0.85339314
}
],
"internet": [
{
"name": "internet",
"score": 0.9781319
}
],
"laptop": [
{
"name": "laptop",
"score": 0.938007
},
{
"name": "laptop",
"score": 0.9192621612548829
}
],
"leisure": [
{
"name": "leisure",
"score": 0.8457804
}
],
"people": [
{
"name": "people",
"score": 0.9499693
}
],
"person": [
{
"name": "person",
"score": 0.865
}
],
"portrait": [
{
"name": "portrait",
"score": 0.8359534
}
],
"pretty": [
{
"name": "pretty",
"score": 0.91533184
}
],
"relaxation": [
{
"name": "relaxation",
"score": 0.9570171
}
],
"sit": [
{
"name": "sit",
"score": 0.97038597
}
],
"summer": [
{
"name": "summer",
"score": 0.87214607
}
],
"technology": [
{
"name": "technology",
"score": 0.9498209
}
],
"window": [
{
"name": "window",
"score": 0.89216715
}
],
"wireless": [
{
"name": "wireless",
"score": 0.8945905
}
],
"woman": [
{
"name": "woman",
"score": 0.9794255
}
],
"young": [
{
"name": "young",
"score": 0.87648505
}
]
},
"colors": {
"#1a3644": [
{
"hex": "#1a3644",
"score": 0.09521337,
"pixel_fraction": 0.038754273,
"red": 26,
"green": 54,
"blue": 68
}
],
"#1a393c": [
{
"hex": "#1a393c",
"score": 0.04723062,
"pixel_fraction": 0.018095681,
"red": 26,
"green": 57,
"blue": 60
}
],
"#1d333a": [
{
"hex": "#1d333a",
"score": 0.07010288,
"pixel_fraction": 0.062674746,
"red": 29,
"green": 51,
"blue": 58
}
],
"#205f75": [
{
"hex": "#205f75",
"score": 0.16747537,
"pixel_fraction": 0.0139018325,
"red": 32,
"green": 95,
"blue": 117
}
],
"#2a7c8e": [
{
"hex": "#2a7c8e",
"score": 0.17968228,
"pixel_fraction": 0.008310034,
"red": 42,
"green": 124,
"blue": 142
}
],
"#325467": [
{
"hex": "#325467",
"score": 0.04347251,
"pixel_fraction": 0.01584343,
"red": 50,
"green": 84,
"blue": 103
}
],
"#959c9d": [
{
"hex": "#959c9d",
"score": 0.01901795,
"pixel_fraction": 0.05731594,
"red": 149,
"green": 156,
"blue": 157
}
],
"#aed2a5": [
{
"hex": "#aed2a5",
"score": 0.04015938,
"pixel_fraction": 0.012736875,
"red": 174,
"green": 210,
"blue": 165
}
],
"#bd9284": [
{
"hex": "#bd9284",
"score": 0.009155667,
"pixel_fraction": 0.010872941,
"red": 189,
"green": 146,
"blue": 132
}
],
"#cdf0c6": [
{
"hex": "#cdf0c6",
"score": 0.05138069,
"pixel_fraction": 0.02368748,
"red": 205,
"green": 240,
"blue": 198
}
]
},
"faces": [
{
"bounding_poly": {
"vertices": [
{
"x": 591,
"y": 34
},
{
"x": 763,
"y": 34
},
{
"x": 763,
"y": 233
},
{
"x": 591,
"y": 233
}
]
},
"detection_score": 0.46639475,
"joy_likelihood": "VERY_UNLIKELY",
"sorrow_likelihood": "VERY_UNLIKELY",
"anger_likelihood": "VERY_UNLIKELY",
"surprise_likelihood": "VERY_UNLIKELY",
"under_exposed_likelihood": "VERY_UNLIKELY",
"blurred_likelihood": "VERY_UNLIKELY",
"headwear_likelihood": "VERY_UNLIKELY"
},
{
"bounding_poly": {
"vertices": [
{
"x": 177,
"y": 228
},
{
"x": 209,
"y": 228
},
{
"x": 209,
"y": 265
},
{
"x": 177,
"y": 265
}
]
},
"detection_score": 0.38176268,
"joy_likelihood": "VERY_UNLIKELY",
"sorrow_likelihood": "VERY_UNLIKELY",
"anger_likelihood": "VERY_UNLIKELY",
"surprise_likelihood": "VERY_UNLIKELY",
"under_exposed_likelihood": "VERY_UNLIKELY",
"blurred_likelihood": "LIKELY",
"headwear_likelihood": "VERY_UNLIKELY"
}
],
"texts": [
{
"bounding_poly": {
"vertices": [
{
"x": 90,
"y": 21
},
{
"x": 930,
"y": 21
},
{
"x": 930,
"y": 523
},
{
"x": 90,
"y": 523
}
]
},
"text": "WORKSAFE 99%\nWOMAN | 99%\n#121CID\nAGE 23-26\nLAPTÓP 96%\n"
},
{
"bounding_poly": {
"vertices": [
{
"x": 753,
"y": 25
},
{
"x": 871,
"y": 24
},
{
"x": 871,
"y": 44
},
{
"x": 753,
"y": 45
}
]
},
"text": "WORKSAFE"
},
{
"bounding_poly": {
"vertices": [
{
"x": 883,
"y": 21
},
{
"x": 930,
"y": 21
},
{
"x": 930,
"y": 44
},
{
"x": 883,
"y": 44
}
]
},
"text": "99%"
},
{
"bounding_poly": {
"vertices": [
{
"x": 324,
"y": 122
},
{
"x": 415,
"y": 121
},
{
"x": 415,
"y": 152
},
{
"x": 324,
"y": 153
}
]
},
"text": "WOMAN"
},
{
"bounding_poly": {
"vertices": [
{
"x": 428,
"y": 122
},
{
"x": 441,
"y": 122
},
{
"x": 441,
"y": 152
},
{
"x": 428,
"y": 152
}
]
},
"text": "|"
},
{
"bounding_poly": {
"vertices": [
{
"x": 443,
"y": 122
},
{
"x": 498,
"y": 122
},
{
"x": 498,
"y": 152
},
{
"x": 443,
"y": 152
}
]
},
"text": "99%"
},
{
"bounding_poly": {
"vertices": [
{
"x": 90,
"y": 389
},
{
"x": 146,
"y": 389
},
{
"x": 146,
"y": 402
},
{
"x": 90,
"y": 402
}
]
},
"text": "#121CID"
},
{
"bounding_poly": {
"vertices": [
{
"x": 692,
"y": 477
},
{
"x": 752,
"y": 477
},
{
"x": 752,
"y": 503
},
{
"x": 692,
"y": 503
}
]
},
"text": "AGE"
},
{
"bounding_poly": {
"vertices": [
{
"x": 769,
"y": 474
},
{
"x": 870,
"y": 474
},
{
"x": 870,
"y": 509
},
{
"x": 769,
"y": 509
}
]
},
"text": "23-26"
},
{
"bounding_poly": {
"vertices": [
{
"x": 152,
"y": 496
},
{
"x": 257,
"y": 495
},
{
"x": 257,
"y": 522
},
{
"x": 152,
"y": 523
}
]
},
"text": "LAPTÓP"
},
{
"bounding_poly": {
"vertices": [
{
"x": 275,
"y": 498
},
{
"x": 323,
"y": 498
},
{
"x": 323,
"y": 517
},
{
"x": 275,
"y": 517
}
]
},
"text": "96%"
}
],
"nsfw": [
{
"label": "adult",
"likelihood": "UNLIKELY"
},
{
"label": "violence",
"likelihood": "VERY_UNLIKELY"
},
{
"label": "spoof",
"likelihood": "VERY_UNLIKELY"
},
{
"label": "medical",
"likelihood": "UNLIKELY"
},
{
"label": "sfw",
"score": 0.9998659
},
{
"label": "nsfw",
"score": 0.00013404133
},
{
"label": "safe",
"score": 0.9236833953857421
},
{
"label": "underwear",
"score": 0.0633405160903931
},
{
"label": "nsfw",
"score": 0.0129761493206024
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment