Coder Social home page Coder Social logo

Another Telegram Issue about bi-aidetection HOT 4 CLOSED

vorloncd avatar vorloncd commented on August 12, 2024
Another Telegram Issue

from bi-aidetection.

Comments (4)

Tinbum1 avatar Tinbum1 commented on August 12, 2024

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.

from bi-aidetection.

Judman avatar Judman commented on August 12, 2024

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)
[```

from bi-aidetection.

VorlonCD avatar VorlonCD commented on August 12, 2024

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)

from bi-aidetection.

Judman avatar Judman commented on August 12, 2024

Oh wow.....the chat ID was missing.

from bi-aidetection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.