Closed Judman closed 4 years ago
From another post did you;
'make sure before you UNZIP that you right-click > properties > Unblock'
don't know if its related but thought I'd mention it.
I thought I did, but I went ahead and redownloaded, "unblocked", and unzipped 1.77 again. Then I dumped it into my existing AI tools install location and I am still getting the same error.
[08:58:06.014]: ImageQueueLoop> Adding task for file 'AiFP.20200922_085805605.jpg' (Image QueueTime='0.0' mins, URL Queue wait='0ms', URLOrder=1 of 1, URLOriginalOrder=1) on URL 'http://127.0.0.1:82/v1/vision/detection'
[08:58:06.015]: ImageQueueLoop> Done adding 1 total threads, ErrCnt=0, ImageProcessQueue.Count=0
[08:58:06.018]: DetectObjects> 127.0.0.1:82 - Starting analysis of C:\BlueIris\AI_Input\AiFP.20200922_085805605.jpg...
[08:58:06.019]: DetectObjects> 127.0.0.1:82 - (1/6) Uploading a 351559 byte image to DeepQuestAI Server at http://127.0.0.1:82/v1/vision/detection
[08:58:06.594]: DeepStack> Server.exe> [GIN] 2020/09/22 - 08:58:06 | 200 | 574.4635ms | 127.0.0.1 | POST /v1/vision/detection
[08:58:06.595]: DetectObjects> 127.0.0.1:82 - (2/6) Posted in 574ms, Received a 120 byte response.
[08:58:06.599]: DetectObjects> 127.0.0.1:82 - (3/6) Processing results...
[08:58:06.603]: DetectObjects> 127.0.0.1:82 - Detected objects: Person (99.39%),
[08:58:06.604]: DetectObjects> 127.0.0.1:82 - (4/6) Checking if detected object is relevant and within confidence limits:
[08:58:06.606]: Outsidemask> ->Camera has no mask, the object is OUTSIDE of the masked area.
[08:58:06.607]: DetectObjects> 127.0.0.1:82 - Person (99.39%) confirmed.
[08:58:06.608]: DetectObjects> 127.0.0.1:82 - The summary:Person (99.39%)
[08:58:06.609]: DetectObjects> 127.0.0.1:82 - (5/6) Performing alert actions:
[08:58:06.613]: MergeImageAnnotations> ...0, LastText='Person (99.39%)' - LastPosition='39,0,266,429'
[08:58:06.624]: MergeImageAnnotations> Merged 1 detections in 16ms into image C:\Users\VMS-PC\AppData\Local\Temp\AiFP.20200922_085805605.jpg
[08:58:06.636]: CallTriggerURLs> -> trigger URL called: http://192.168.1.10:81/admin?trigger&camera=Porch&user=[user]&pw=[password], response: 'signal=green profile=1 lock=0 clip=537485847 camera=Front Porch '
[08:58:06.659]: OnCreatedAsync>
[08:58:06.660]: OnCreatedAsync> ====================== Adding new image to queue (Count=1): C:\BlueIris\AI_Input\AiFP.20200922_085806605.jpg
[08:58:06.725]: Trigger> -> ERROR sending image to Telegram.
[08:58:06.733]: DetectObjects> 127.0.0.1:82 - (6/6) SUCCESS.
[08:58:06.734]: DetectObjects> 127.0.0.1:82 - Adding detection to history list.
[08:58:06.737]: DetectObjects> 127.0.0.1:82 - Total Time: 1074ms (Count=2, Min=1074ms, Max=15913ms, Avg=8494ms)
[08:58:06.740]: DetectObjects> 127.0.0.1:82 -DeepStack (URL) Time: 574ms (Count=2, Min=574ms, Max=15401ms, Avg=7988ms)
[08:58:06.742]: DetectObjects> 127.0.0.1:82 - File lock Time: 0ms (Count=0, Min=0ms, Max=0ms, Avg=ms)
[08:58:06.744]: DetectObjects> 127.0.0.1:82 - Image Queue Time: 355ms (Count=2, Min=355ms, Max=414ms, Avg=385ms)
[08:58:06.746]: DetectObjects> 127.0.0.1:82 - Image Queue Depth: 1 (Count=21, Min=1, Max=15, Avg=7)
[```
Looking at the code, since your log shows NO other indication of telegram error before the ERROR SENDING IMAGE one likely means that something is misconfigured in the two telegram settings on the settings tab. If they look correct, try making a small change to one, saving and reopening the program. Otherwise, close app, and see if anything looks strange in aitool.settings.json with "telegram_chatids" or "telegram_token". They both have to have something in them. (Make backup if you try to modify yourself)
Oh wow.....the chat ID was missing.
On 1.77 and cannot get images to Telegram either with a legit trigger or using the settings test button.
I just downloaded, unzipped, and pasted over my previous install.
Legit Trigger
Test from settings page