Has anyone successfully overwritten the default settings for the Microsoft Image Recognizer in #thunkableclassic or #thunkablex. When using this feature in the classroom, I have had struggled to override it. To insure that all student apps work, I want to provide my own URL and key. Has anyone done this?
![image-recognizer-properties](https://global.discourse-cdn.com/business4/uploads/thunkable/original/3X/5/5/5567a7bfb47c7bd87e5e23cfff85837edd3c4b4b.PNG)
What should the ServerURL
be changed to; is it the endpoint, e.g., https://westus.api.cognitive.microsoft.com/vision/v1.0
What about the SubscriptionKey
? Is it the one listed in Azure, like so:
![azure-keys-blurred](https://global.discourse-cdn.com/business4/uploads/thunkable/original/3X/4/0/40bfeb6fe8ab74464b0f8f32e7d13c7343460db7.png)
Thanks,
James
I also have the same problem. It seems that the image recognizer is not working properly, so I tried to set my own server. Actually, I was able to check that the server side is correct, by uploading my own images and getting a description using the following cURL command:
curl -H "Ocp-Apim-Subscription-Key: " -H “Content-Type: application/json” “https://westeurope.api.cognitive.microsoft.com/vision/v3.1/analyze?visualFeatures=Categories,Description&details=Landmarks” -d "{“url”:"http://upload.wikimedia.org/wikipedia/commons/3/3c/Shaki_waterfall.jpg"}"
I tried to set the serverURL to “https://westeurope.api.cognitive.microsoft.com/vision/v3.1/analyze”, “https://westeurope.api.cognitive.microsoft.com/vision/v3.1”, “https://westeurope.api.cognitive.microsoft.com”, and many more combinations, but none of them worked for me. Please, help me!
Hi Leo,
I would like to have my own library of image too (specific churches, monument that the app could recognize).
Can you explane how do you did?
Or can you give me some references about?
Thanks
Apparently something was wrong with the code I used my first time (maybe the servers were down). I was able use this feature in a conventional way by redoing all the app from scratch, I would say exactly as it was before. Unfortunately this is not very informative, I know,… but I can’t tell why it was not working at the beginning.
1 Like