Detect Observation Item
curl --request POST \
--url https://api.novumlogictechnologies.com/detect-observation \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form file=@example-fileimport requests
url = "https://api.novumlogictechnologies.com/detect-observation"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
options.body = form;
fetch('https://api.novumlogictechnologies.com/detect-observation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.novumlogictechnologies.com/detect-observation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.novumlogictechnologies.com/detect-observation"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.novumlogictechnologies.com/detect-observation")
.header("x-api-key", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.novumlogictechnologies.com/detect-observation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"id": "ea7123-9339-44df-b169-4c75aa04a65a",
"source": "api",
"tokens_charged": 1,
"status": "completed",
"created_at": "2026-11-11T11:49:30.617332Z",
"input": {
"endpoint": "/detect-observation",
"image_path": "901b68dd-adc1-49c0-9f65-fee163f9b12a/images/detect-observation demo 01.jpeg",
"service_name": "Detect Observation"
},
"output": {
"recognized": true,
"confidence": 0.929,
"prediction": "2 Pin Lead",
"is_blurred": false,
"blur_percentage": 0,
"top_k": [
{
"label": "2 Pin Lead",
"confidence": 0.929
},
{
"label": "AC Adapter",
"confidence": 0.0118
},
{
"label": "Soldering Iron",
"confidence": 0.0112
}
]
}
}Detection
Detect Observation Item
Upload an image of an electrical appliance, tool, or equipment item to classify and identify observation items.
What is detected
- Item Classification: Identifies appliances and equipment (e.g., 2 Pin Lead, AC Adapter, Soldering Iron, Surge Protector) with confidence ratings.
- Top-K Predictions: Returns ranked candidates with individual confidence scores.
- Recognition Status: Indicates whether the item was recognized with sufficient confidence (
recognized: true/false).
Supported files
- Formats:
.jpg,.jpeg,.png - Max file size: 10 MB
- Content type:
multipart/form-dataunder thefilefield
POST
/
detect-observation
Detect Observation Item
curl --request POST \
--url https://api.novumlogictechnologies.com/detect-observation \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>' \
--form file=@example-fileimport requests
url = "https://api.novumlogictechnologies.com/detect-observation"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
options.body = form;
fetch('https://api.novumlogictechnologies.com/detect-observation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.novumlogictechnologies.com/detect-observation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.novumlogictechnologies.com/detect-observation"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.novumlogictechnologies.com/detect-observation")
.header("x-api-key", "<api-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.novumlogictechnologies.com/detect-observation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"id": "ea7123-9339-44df-b169-4c75aa04a65a",
"source": "api",
"tokens_charged": 1,
"status": "completed",
"created_at": "2026-11-11T11:49:30.617332Z",
"input": {
"endpoint": "/detect-observation",
"image_path": "901b68dd-adc1-49c0-9f65-fee163f9b12a/images/detect-observation demo 01.jpeg",
"service_name": "Detect Observation"
},
"output": {
"recognized": true,
"confidence": 0.929,
"prediction": "2 Pin Lead",
"is_blurred": false,
"blur_percentage": 0,
"top_k": [
{
"label": "2 Pin Lead",
"confidence": 0.929
},
{
"label": "AC Adapter",
"confidence": 0.0118
},
{
"label": "Soldering Iron",
"confidence": 0.0112
}
]
}
}Query Parameters
Body
multipart/form-data
⌘I