Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I am getting the result that there is a problem, see return message below.

I am using this code within server side in iobroker (node.js).

This is my code. I would be so happy if anybody could help me?

TypeScript
var fetch = require('node-fetch');
const FormData = require('form-data');

doDetection();
function doDetection() {
    request.get({url: "http://192.168.178.124/kennzeichen.png", 
        encoding: null},  async function (err, response, body) {
        if (err) {
            throw err;
        }

        var formData = new FormData();
        formData.append('image', body);

        const response2 = await fetch('http://192.168.178.124:32168/v1/vision/custom/licence-plates',         
            {method: 'POST', body: formData});
        const result = await response2.json();
        log("Result: " + JSON.stringify(result))
    });
}




javascript.1 (25773) script.js.common.Automatisierungen.KI5_works_better: Result: {"success":false,"error":"Unable to create YOLO detector for model licence-plates","code":500,"command":"custom","moduleId":"ObjectDetectionYolo","executionProvider":"CPU","canUseGPU":false,"analysisRoundTripMs":28}


What I have tried:

See my code above. This is a code running in iobroker backend side.
Posted

1 solution

This appears to be an issue using the CodeProject AI server. The discussion boards for this can be found here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900