Questions tagged [kairos-api]

An API that detects human faces in photos and images.

Kairos API is an API that detects human faces in photos and images and returns information on facial features as coordinates on the image.

16 questions
1
vote
0 answers

How does data retrieval happen in KairosDb?

I have data like below:- data = [ { "name": "test4", "datapoints": [ [currentTimestamp, count] ], "tags": { "name" : "MyName", "dept" : "Engineering", "city" : "Delhi", "state": "Delhi", …
Raj
  • 429
  • 2
  • 6
  • 26
1
vote
1 answer

How to handle ServiceRequestError in Python

I am looking at Face Detection, using Kairos API while working on this program with the following code def Test(): image = cap.read()[1] cv2.imwrite("opencv_frame.png",image) recognized_faces =…
Dave
  • 71
  • 10
1
vote
1 answer

Detect live face on camera using react native

Hi I'm very new to react native, i have to develop an app like whenever camera detects the face, automatically we need to display the person age and gender without any button click event. I'm using Kairos API to display the age and gender but i need…
1
vote
1 answer

Missing parameters Kairos API with Android Volley POST

I'm trying to use KairosAPI's enroll POST request using Android Volley. However I keep getting Error 1002, image one or more required parameters are missing. I've tried two ways to add the parameters into the body of the JSON, which I've outlined in…
fraiser
  • 929
  • 12
  • 28
0
votes
1 answer

Is it possible to query the latest datapoint in kairosdb for a specific tag?

I am trying to get the latest datapoint for a specific tag say device_id : 101 without knowing when the last datapoint might have come in. It could be 10 minutes ago or 10 days ago. How can I get the last datapoint without specifying the time range…
0
votes
1 answer

Kairos json to firebase database - Object of type Response is not JSON serializable

I have tried for a few hours to get a JSON response to push a new user to a Firebase realtime database. from config import * import requests import urlopen from firebase import firebase # put your keys in the config.py # Switch url for what you…
Chagen
  • 45
  • 1
  • 1
  • 8
0
votes
1 answer

Kairosdb accepts only get request from node app

I have a VM running kairosDB on laptop A,the VM has two IPs: 192.168.119.132 : to access it from laptop A. 192.168.1.151 : to access from laptop B. From both laptops i can access the web app without any issue from < IP >:8080. Laptop A : If i…
0
votes
2 answers

While loop for Kairos to only capture every 1 minute

I am currently using a facial-recognition software called Kairos to analyze emotions of a crowd on a video. My question is, instead of using "true" in while (which will analyze crowd emotions every second), how do I configure it in such a way that…
whitemustang13
  • 31
  • 1
  • 1
  • 8
0
votes
1 answer

Kairos enroll API returns confidence in the response. What does it mean?

I am exploring Kairos Facial Recognition APIs. The API /enroll is used for uploading an image to Kairos for a subject_id. I noticed that the response of enroll API contains a confidence score. The image is treated as a new image. What does this…
ShwetaJ
  • 462
  • 1
  • 8
  • 32
0
votes
1 answer

Which API has better performance in Kairos, /verify or /recognize?

I have a use case where I get some records JSON records with subject_id, now I want to send the image to Kairos and identify to which of these records(subject_id) the image belongs. Say I need to identify the record from 5 records to which the image…
ShwetaJ
  • 462
  • 1
  • 8
  • 32
0
votes
1 answer

How to enroll image on Kairos Cloud using Java?

I am using Kairos API, for face recognized. I want to upload image on Kairos Cloud. I got an error one or more subject required. Bellow My code //passing from jsp page MultipartFile file = enoroll.getImage(); byte[] image = file.getBytes(); getId =…
user9484981
0
votes
1 answer

Kairos API : subject_id one or more required parameters are missing

I'm trying to enroll person profile pic's using kairos API. I have a following python code. My python script: #!/usr/bin/python3 import requests import io import http.client import base64 import json import glob, os from os.path import…
msc
  • 33,420
  • 29
  • 119
  • 214
0
votes
1 answer

Kairos API - gallery_name is not a valid parameter

I'm trying to face detection using kairos API. I have a following python code. But, I'm getting an error : img1.jpg ================RESPONSE===================== b'{\n\t"Errors": [\n\t\t{\n\t\t\t"ErrCode": 1003,\n\t\t\t"Message": "gallery_name is…
Jayesh
  • 4,755
  • 9
  • 32
  • 62
0
votes
1 answer

How to upload a file in a urllib2 request

I'm trying to use the kairos facial recognition API, and I need to upload a local file. The api documentation says that the image parameter needs to be a "Publicly accessible URL or Base64 encoded photo." In the example code, they use the data…
Minecat40
  • 41
  • 1
  • 5
-1
votes
1 answer

How to parse json data with Alamofire?

Im making an application like this video: https://www.youtube.com/watch?v=mzyFQ55M7eo but i dont want the textview display the json data, i only want its display the text "Hello (username)" mean Hello (subject_id) but i dont know how to parse json…
1
2