Giter VIP home page Giter VIP logo

bi-aidetection's Introduction

AI Detection for Blue Iris

Alarm system for Blue Iris based on Artificial Intellience. Can send alerts to Telegram.

Updated Fork Available

https://github.com/VorlonCD/bi-aidetection

VorlonCD's fork has added many features and fixed many bugs present here, we recommend his fork for the latest on this program.

Download

https://github.com/gentlepumpkin/bi-aidetection/releases Click "> Assets" to find the .zip file.

Install guide and discussion

https://ipcamtalk.com/threads/tool-tutorial-free-ai-person-detection-for-blue-iris.37330/

Key Features

  • analyze Blue Iris motion alerts using Artificial Intelligence and sort out false alerts
  • detect humans and selected objects
  • send alert images to Telegram using a bot (optional)
  • one alert image per event
  • statistics and individual configuration for every camera

Screenshot

Screenshot

How to contribute

  1. install Visual Studio
  2. download project as .zip and unpack somewhere
  3. go to ./src/ and open bi-aidetection.sln with Visual Studio.

Using the Github extension for Visual Studio:

  1. install Visual Studio
  2. install Github Extension from here https://visualstudio.github.com/
  3. Click the green button "clone or download" above this text
  4. Select "Open in Visual Studio"

bi-aidetection's People

Contributors

edalquist avatar gentlepumpkin avatar lazersfly avatar vhkristof avatar youzer-name avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bi-aidetection's Issues

History load speed

The current history load speed is pretty slow and is not limited by any filters, what is causing it to be slow and how can it be fixed?

Allow Trigger URL to be sent via http POST

Sorry if I'm newbing it up. I trying to use the AI Tool to send a webhook to my Home Assistant but it only accepts HTTP Post. I'm currently getting a 405: Method Not Allowed so i'm assuming it's using HTTP Get.
Thanks for the tool!

Enable RETAIN flag MQTT

I'm currently using this tool alongside home Hassitant. With the latest home hassitant update MQTT binary sensors now require a RETAIN flag, otherwise their state will be set to unknown . Is the flag currently supported?

feature Request -- MQTT support

Would be great to have MQTT support so that it sends the alert along with what was detected. Would that be possible? That way the data can be parsed, and create customized notifications (EG using NodeRed and home-assistant)

Feature Request: Pushover support

Blueiris has pushover support and it would be nice if pushover support could be added, so one does not need to run multiple messengers/alert clients.

AITool Should periodically re-test failed servers

Currently, every time I restart Deepstack(or restart the machine it's running on) I wind up having to re-enable the server within AITool. I get wanting to disable it if it fails continuously, but it really should be periodically checked to see if it has come back like once a minute or every few minutes.

Thanks!

Error whole processing results

Hi!

I got all up-and-running and the AI-Tool detects a new image and sends it to DeepStack, but processing the results, results in an error:

[08.05.2020, 17:17:28.808]: Starting analysis of E:\VideoStorage\AIinput/achtertuinsd.20200508_171728849.jpg [08.05.2020, 17:17:28.811]: (1/6) Uploading image to DeepQuestAI Server [08.05.2020, 17:17:28.815]: (2/6) Waiting for results [08.05.2020, 17:17:28.816]: (3/6) Processing results: [08.05.2020, 17:17:28.817]: System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 ) [08.05.2020, 17:17:28.818]: ERROR: Processing the following image 'E:\VideoStorage\AIinput/achtertuinsd.20200508_171728849.jpg' failed. Failure in AI Tool processing the image.

Am I missing some program of software? Can't figure it out :-(

DeepStack is running in a headless VMware VM on Ubuntu 18.04 in a docker container.

Make @VorlonCD a contributor

It seems the community as a whole is having a lot of issues that have been fixed in the @VorlonCD fork. He has pushed a lot of commits that haven't been merged into the main.

As I can greatly appreciate not having the time to work on side projects, any chance you would consider making @VorlonCD a contributor (at least temporarily) so that he can merge his many wonderful commits into your awesome base so there is less confusion and more successful adoption of your great work?

Error - "Can't write to log.txt file!"

Running on physical Win10 PC. I had thought this might be OneDrive sync'ing the file but I have turned off ONeDrive and I am still seeing the error.

When clicking it to view the log file it appears. No errors showing except on stating:

ERROR: Can't write to cameras/history.csv

Unsure as to what would be using those files at the same time as the program itself?

I lov this tool, I got it working yesterday

I want to go a set further and integrate Face Recognition into Home Assistant, do you know of any projects that are doing that?
If no one is doing it, I thought I could take a whack at it.

Feature Request: Write configs to more human readable json format

Utilize built in JsonSerializer to save/load camera configs to disk.

While not really providing much initial value will make updating the camera object without the side effect of breaking the Camera.WriteConfig method by accidental ommision of critical fields

Also will make the camera configs human readable.

A migration path for old configs should be implemented as well to make updating to new config painless.

Support Object Tracking

I think that with the dynamic mask stuff you guys are working on, it would also be possible to use that same information to enable smart object tracking with a PTZ camera. Exciting Stuff!

Error: Bad URL?

I downloaded the latest version today and upgraded from 1.71. Problem is, when running as a service, it runs fine for a bit and then gives me the following errors. I edited the time and the incremental number off the end for clarity. I thought it night have had something to do with too many cameras active at once, but running it as a non-service application I can trigger all of my cameras and it doesn't have an issue. Hopefully, this is something known and there's a fix rather than this being a serious issue. Version 1.71 doesn't suffer from this from what I can see...

Debug|AITOOLS.EXE|DetectObjects|192.168.0.4:5000|garage|Garage.20201124_184023831.jpg|  (1/6) Uploading a 2305361 byte image to DeepQuestAI Server at http://192.168.0.4:5000/v1/vision/detection
Info|AITOOLS.EXE|WaitForNextURL|192.168.0.4:5000|garage|None| ---- All URL's are in use or disabled, waiting...
Error|AITOOLS.EXE|DetectObjects|192.168.0.4:5000|garage|Garage.20201124_184023831.jpg|  Got http status code 'BadRequest' (400) in 341ms: Bad Request

Feature Request: Implement watching of subdirectories

Currently only the root directory is monitored for image files. This present s sorting issue when numerous cameras/images are present.

The FileSystemWatcher class supports optionally monitoring sub subdirectories as well. This would allow for potentially more tidy per camera image storage location monitoring. It would also potentially allow for the cameras themselves to save and store image snapshots. Which would potentially remove the need for the current blue iris clone config.

Would require changes to the UI to support the feature and ideally would be configurable per camera.

Camera values being reset to default

This happens when running AI Tool as a service.

  1. With AI Tool already started as a service, double-click aitool.exe to bring up the GUI.
  2. Select a camera, change its Cooldown value, and click Save.
  3. Close the GUI or just go to a different page.
  4. Wait a few minutes.
  5. Start the GUI back up and/or go back to the camera settings.
    6 Notice that Cooldown will be 2 minutes regardless of what value you entered before.

If you stop the service and follow the above steps, or stop the service and manually modify the [cameraname].txt file, the settings will be preserved correctly.

Face recognition ability

Would love to be able to utilize the free face recognition as well that comes with the free package from deepstack/deepquestai

Trigger on various count rules

Say you normally have a car parked at home, and you want to trigger when the car leaves (count--) or the car arrives (count++) or perhaps you only care if there's 2 or more cars in the driveway.

Would be nice to do that

Delay in first photo analysis

Hi,

Not sure where this issue lies yet.
Every time a trigger is detected there appears to be quite a delay in picking up the first snapshot - then once running they flow much faster.

image

image

Ryzen 5 3400g
Asus GTX970 GPU (using windows deepstack GPU)
16gb memory

Could it be because I have a DS server for each camera? Or the gpu card slow on starting up?
The image folder is on a M.2 ssd. I keep this small, Only 200mb of photos.

Many thanks

AI Tools sometimes takes a full minute to trigger Blue Iris camera(s)

I have Blue Iris running on a Windows machine; I just upgraded to an I5-9600k with 16G memory mainly to use this awesome (potentially?) program. My original setup of 8 cameras is working the same as always. I followed "the Hookup" tutorial and set up 4 of these cameras with an RTSP sub and main stream (8 profiles). I have version 1.67 preview 7 of AI Tools. According to the log it is processing the image in less than a second (wonderful) but somehow the trigger to the High res camera (main RTSP stream) takes about a minute to trigger. It would stand to reason that something is up on the Blue Iris end, but I don't know where to ask if that's the case.
More info: DeepStack is running in a Docker container via Portainer add-on in Home Assistant which is running on VirtualBox on the same computer as Blue Iris. The IP addresses are the same (192.168.X.X) for BI, Home Assistant, AI Tools, DeepStack and VB (so also Portainer), but it is 172.17.x.x for the DeepStack "Network-bridge". Is this a normal setup? - I assume it is since I followed Rob's tutorial. I noticed that versions above 1.65 have a different installation method as outlined by Gentle Pumpkin. I assume that the old method should still work too? I tried one camera with the new method and it didn't work either.
Entering the 1st URL in a web browser returns this result immediately:
signal=green
profile=1
lock=0
camera=Garage HR

Here is the log entry for that camera:
[06.04.2021, 12:51:55.292]:
[06.04.2021, 12:51:55.292]: Starting analysis of D:\AIinput\GarageLR.20210406_125155475.jpg
[06.04.2021, 12:51:55.292]: (1/6) Uploading image to DeepQuestAI Server
[06.04.2021, 12:51:56.621]: (2/6) Waiting for results
[06.04.2021, 12:51:56.622]: (3/6) Processing results:
[06.04.2021, 12:51:56.622]: Detected objects:person (78.72%),
[06.04.2021, 12:51:56.622]: (4/6) Checking if detected object is relevant and within confidence limits:
[06.04.2021, 12:51:56.623]: person (78.72%):
[06.04.2021, 12:51:56.629]: Checking if object is outside privacy mask of GarageLR:
[06.04.2021, 12:51:56.630]: Loading mask file...
[06.04.2021, 12:51:56.630]: ->Camera has no mask, the object is OUTSIDE of the masked area.
[06.04.2021, 12:51:56.630]: person (78.72%) confirmed.
[06.04.2021, 12:51:56.630]: The summary:person (78.72%)
[06.04.2021, 12:51:56.631]: (5/6) Performing alert actions:
[06.04.2021, 12:51:56.631]: trigger url: http://192.168.X.X:80/admin?trigger&camera=Garage_HR&user=Dave&pw=69BI69
[06.04.2021, 12:51:56.637]: trigger url: http://192.168X.X:80/admin?camera=Garage_HR&flagalert=1&trigger&memo=person%20(78.72%25)&user=Dave&pw=69BI69
[06.04.2021, 12:51:56.639]: -> 2 trigger URLs called.
[06.04.2021, 12:51:56.642]: (6/6) SUCCESS.
[06.04.2021, 12:51:56.642]: Adding detection to history list.
On this trigger, the video lagged 18 seconds. I set a 20 second pre-buffer, but it still didn't catch any action.
Please advise if this is something you can help with or if you have another source to help

Bug: Error when viewing Stats

Gets an error when selecting any camera on the Stats tab.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WindowsFormsApp2.Shell.UpdateTimeline()
   at WindowsFormsApp2.Shell.comboBox1_SelectedIndexChanged_1(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I have found out that my time format is HH.mm.ss and the code expects HH:mm:ss, so it splits on the wrong delimiter.
Using v1.65

Microsoft .NET Framework popup | InvalidArgument = Value with the value 0 is invalid for index.

`
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentOutOfRangeException: InvalidArgument=Value mit dem Wert 0 ist für index ungültig.
Parametername: index
bei System.Windows.Forms.ListView.ColumnHeaderCollection.get_Item(Int32 index)
bei WindowsFormsApp2.Shell.ResizeListViews()
bei WindowsFormsApp2.Shell.Form1_Resize(Object sender, EventArgs e)
bei System.EventHandler.Invoke(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnResize(EventArgs e)
bei System.Windows.Forms.Form.OnResize(EventArgs e)
bei System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
bei System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
bei System.Windows.Forms.Control.UpdateBounds()
bei System.Windows.Forms.Control.WmCreate(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WmCreate(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Geladene Assemblys **************
mscorlib
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3690.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.

aitool
Assembly-Version: 1.0.0.0.
Win32-Version: 1.0.0.0.
CodeBase: file:///C:/BlueIris/AI_Tool/aitool.exe.

System.Windows.Forms
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3690.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

System
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3640.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.

System.Drawing
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.

System.Net.Http
Assembly-Version: 4.2.0.0.
Win32-Version: 4.6.26011.01.
CodeBase: file:///C:/BlueIris/AI_Tool/System.Net.Http.DLL.

System.Configuration
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3630.0 built by: NET472REL1LAST_B.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.

System.Core
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3661.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.

System.Xml
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.

System.Windows.Forms.DataVisualization
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll.

System.Windows.Forms.DataVisualization.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization.resources/v4.0_4.0.0.0_de_31bf3856ad364e35/System.Windows.Forms.DataVisualization.resources.dll.

System.Windows.Forms.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.

mscorlib.resources
Assembly-Version: 4.0.0.0.
Win32-Version: 4.7.3190.0 built by: NET472REL1LAST_C.
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

`

Not a problem but a suggestion - Refinement server option

Hi,

How are you doing? Your tool has been invaluable - thanks for all the hard work done btw.

In regards to the AI server options - there is a Refinement server option for when you have more than 1 deepstack server running.

What would be very useful is to have 2 options under Refinement server.
the 2nd one being - Use this server ONLY is the first server does NOT find a relevant object.
I have a custom model for 1 specific object that the main finds it hard to discover at night.
My custom model is very sensitive and both run for every image sent.

If the main server finds the object I don't need to run the custom model - if it does not find the object then I'd like the option of running the custom model only.

Hope that is clear.

Do you think this would be possible in the foreseeable future as an option?

image

Thanks
Chris

Automask?

Is there a way to create an automask feature? I still get lot of false alerts. It would be cool if I could click a button when looking at history and have a create an automask of a false object it is detecting.

Feature Request: Implement Parallel processing for image file Parsing

Currently detection can only handle a single image at a time. This causes Multi camera systems with multiple image generations per second to have their record events delayed until irrelevant.

I believe the heart of this issue is tied to the following line in the OnCreatedAsync event handler.
while (detection_running == true) { } //wait until other detection process is finished

Unfortunately this requires a refactor of how file handling tasks are handled in general and the whole handler would need to be refactored to allow for async task creation, execution and followup execution

.net error doesn't load camera configs on vers 1.67

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at WindowsFormsApp2.Shell.IncrementErrorCounter()
at WindowsFormsApp2.Shell.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)

AI cant find deepstack

I get this error
[08.10.2020, 09:58:53.462]: Cleaning cameras/history.csv if neccessary...
[08.10.2020, 10:00:18.943]:
[08.10.2020, 10:00:18.947]: Starting analysis of C:\aiinput\HIKISD1.20201008_100018902.jpg
[08.10.2020, 10:00:18.962]: System.IO.IOException | The process cannot access the file 'C:\aiinput\HIKISD1.20201008_100018902.jpg' because it is being used by another process. (code: -2147024864 )
[08.10.2020, 10:00:18.966]: Could not access file - will retry after 10 ms delay
[08.10.2020, 10:00:18.980]: Retrying image processing - retry 1
[08.10.2020, 10:00:18.984]: System.IO.IOException | The process cannot access the file 'C:\aiinput\HIKISD1.20201008_100018902.jpg' because it is being used by another process. (code: -2147024864 )
[08.10.2020, 10:00:18.988]: Could not access file - will retry after 20 ms delay
[08.10.2020, 10:00:19.013]: Retrying image processing - retry 2
[08.10.2020, 10:00:19.016]: (1/6) Uploading image to DeepQuestAI Server
[08.10.2020, 10:00:19.082]: System.Net.Http.HttpRequestException | Error while copying content to a stream. (code: -2146232800 )
[08.10.2020, 10:00:19.086]: ERROR: Processing the following image 'C:\aiinput\HIKISD1.20201008_100018902.jpg' failed. Can't reach DeepQuestAI Server at http://192.168.7.106:83/v1/vision/detection.
[08.10.2020, 10:00:23.936]:
Now I have tried 3 versions of deepstack the :latest the :gpu and the :noavx I have entered a key into the deepstack ui and it says it is activated on my machine on 192.168.7.106:83
but I get the same error
screren shots.docx
Do you have any clues as to what is wrong

Tool stops working after some time

Hello,

great software first to say.

Sadly the AITool stops working for me after some days. It appears quite randomly.
I checked the picture feed - files are being created.
I checked the Deepquest server - running fine. No errors yet no requests either.

OS Info:
Windows 10 Pro 1909 running as a virtual machine.
Deepquest Docker. Doing processing fine for other software.
Blueiris 5.3.3.12

Logfile of the AITool:
You can see the break being present in the date-timeline. I restarted at 1.11.

[30.10.2020, 14:30:23.607]: (6/6) Camera Driveway caused a false alert, nothing detected.
[30.10.2020, 14:30:23.611]: Adding false to history list.
[30.10.2020, 14:31:19.155]:
[30.10.2020, 14:31:19.161]: Starting analysis of S:\BlueIrisAux2\Cam1.20201030_143109582.jpg
[30.10.2020, 14:31:19.168]: System.IO.IOException | The process cannot access the file 'S:\BlueIrisAux2\Cam1.20201030_143109582.jpg' because it is being used by another process. (code: -2147024864 )
[30.10.2020, 14:31:19.172]: Could not access file - will retry after 10 ms delay
[30.10.2020, 14:31:19.187]: Retrying image processing - retry 1
[30.10.2020, 14:31:19.218]: (1/6) Uploading image to DeepQuestAI Server
[30.10.2020, 14:31:20.846]: (2/6) Waiting for results
[30.10.2020, 14:31:20.851]: (3/6) Processing results:
[30.10.2020, 14:31:20.855]: Detected objects:
[30.10.2020, 14:31:20.863]: (6/6) Camera Driveway caused a false alert, nothing detected.
[30.10.2020, 14:31:20.867]: Adding false to history list.
[01.11.2020, 15:45:05.738]: Loading object rectangles...
[01.11.2020, 15:45:06.117]: 0 - 1978, 859, 2089, 1054
[01.11.2020, 15:45:06.124]: Done.
[01.11.2020, 15:45:06.169]: Loading object rectangles...
[01.11.2020, 15:45:06.175]: 0 - 1978, 859, 2089, 1054

Future of DeepQuest and DeepStack?

@gentlepumpkin , @classObject
Just curious if anyone here has thought about the ominous absence of the deepquest folks and the future of DeepStack viability. They haven't had a release in a long time, their website hasn't had much revision in a long time and from this post, they don't seem too interested in sales requests.
https://forum.deepstack.cc/t/is-deepquest-dead/431

I'm just wondering with all of these wonderful changes, how difficult would it be to pivot this work over to another AI engine?

Error while processing the

Similar to an error posted on May 8 I get the same error. I am using the Windows version of DeepStack. I have also used all three of the API's and I get the same error (shown below) for each. I am using version 1.65 of the AI Tool. Any guidance that you could provide to help resolve this issue would be greatly appreciated.

Starting analysis of D:\aiinput/reo2sd.20200615_162317512.jpg
(1/6) Uploading image to DeepQuestAI Server
(2/6) Waiting for results
(3/6) Processing results:
System.NullReferenceException | Object reference not set to an instance of an object. (code: -2147467261 )
ERROR: Processing the following image 'D:\aiinput/reo2sd.20200615_162317512.jpg' failed. Failure in AI Tool processing the image.

aitool.exe does not open

Aitool.exe doesn't open, tried multiple versions from 162 to 165, same thing happens every time. Seems to be an issue related to .Net framework, but I have no idea what's wrong here. Mind taking a look?

Sorry the log is in Japanese

Event viewer log:
`アプリケーション (application) :aitool.exe
フレームワークのバージョン (framework version):v4.0.30319
説明: ハンドルされない例外のため、プロセスが中止されました。(cannot handle exception, process stopped)
例外情報:System.ArgumentOutOfRangeException (exception information)
場所 System.Windows.Forms.ListView+ColumnHeaderCollection.get_Item(Int32)
場所 WindowsFormsApp2.Form1.ResizeListViews()
場所 WindowsFormsApp2.Form1.Form1_Resize_1(System.Object, System.EventArgs)
場所 System.Windows.Forms.Control.OnResize(System.EventArgs)
場所 System.Windows.Forms.Form.OnResize(System.EventArgs)
場所 System.Windows.Forms.Control.OnSizeChanged(System.EventArgs)
場所 System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)
場所 System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32)
場所 System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
場所 System.Windows.Forms.Form.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)
場所 System.Windows.Forms.Control.ScaleControl(System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
場所 System.Windows.Forms.ScrollableControl.ScaleControl(System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
場所 System.Windows.Forms.Form.ScaleControl(System.Drawing.SizeF, System.Windows.Forms.BoundsSpecified)
場所 System.Windows.Forms.Control.ScaleControl(System.Drawing.SizeF, System.Drawing.SizeF, System.Windows.Forms.Control)
場所 System.Windows.Forms.ContainerControl.Scale(System.Drawing.SizeF, System.Drawing.SizeF, System.Windows.Forms.Control)
場所 System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean, Boolean)
場所 System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
場所 System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean)
場所 System.Windows.Forms.Control.ResumeLayout(Boolean)
場所 WindowsFormsApp2.Form1.InitializeComponent()
場所 WindowsFormsApp2.Form1..ctor()
場所 WindowsFormsApp2.Program.Main()

`

Thanks

Convert UI to WPF

Merging changes to the generated Shell.Designer.cs file can be a nightmare. Converting the UI to WPF would make merges much easier and would give the option to use grids and other auto layout controls instead of tables.

Unfortunately the app logic is pretty tightly coupled to the current UI, so this would be a major change and it would probably be more appropriate to refactor the app logic out of the current UI before considering WPF.

With that said, are you open to something like this?

System.NullReferenceException

I'd installed version 1.67 of this lovely tools on my windows 10 Blue Iris Machine but i'm unable to use it.
In the log i only sse this error

51.023]: Starting analysis of C:\ai_images\laterale.20200905_141251250.jpg
[05.09.2020, 14:12:51.042]: (1/6) Uploading image to DeepQuestAI Server
[05.09.2020, 14:12:51.064]: (2/6) Waiting for results
[05.09.2020, 14:12:51.080]: (3/6) Processing results:
[05.09.2020, 14:12:51.097]: System.NullReferenceException | Riferimento a un oggetto non impostato su un'istanza di oggetto. (code: -2147467261 )
[05.09.2020, 14:12:51.116]: ERROR: Processing the following image 'C:\ai_images\laterale.20200905_141251250.jpg' failed. Failure in AI Tool processing the image.

Deepstack is installed on a linux machime using docker and, with demo code, works like a charms.
Can you help me ?

Processing Image does not timeout if DS crashes

If the deepstack engine (but not it's web/API interface) crashes - AI tool gets stuck awaiting processing as it waits for deepstack to return the request forever. Ideally it should timeout after 30 seconds or so, throw an error and await the next task.....

Unable to LoadCameras

I have just noticed that AI has stopped working.

When trying to open the app this error appears.

image

Windows 10 21H1

Deepstack URL field should validate input

The field is name "URL" which implies it needs a protocol but the code just does:

"http://" + deepstack_url + "/v1/vision/detection"

So putting in anything more than host:port breaks with difficult to debug error messages.

Deepstack path changed?

Hi,

I just reinstalled deepstack for Windows. aitool takes the path [INSTALL_FOLDER]/server/server.exe but this path is not up to date anymore. Now the path seems to be like [INSTALL_FOLDER]/deepstack.exe or [INSTALL_FOLDER]/server/deepstack.exe

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.