Comments (14)
P.S. the variables were originally discussed in the ipcamtalk megathead the bottom of page 30, and top of page 31, but didn't include all the adjustments I requested above.
from bi-aidetection.
Ok, I just implemented this but without new variables in the new push. Yet anyway.
See "DisplayPercentageFormat" setting in Json settings file. For your request you can change it from the default:
({0:0.00}%)
to:
{0:0}%
And I'm now forcing all object names to be case title in any case. I'm sure I'll find out if someone has done case insensitive checks against object names out there. :)
from bi-aidetection.
@aesterling - is this working how you need it to?
https://github.com/VorlonCD/bi-aidetection/releases
from bi-aidetection.
Awesome work, once again, @VorlonCD. Sorry for my delayed response! These changes are working nicely in the AI Tool interface, but the merged/annotated JPEG still shows percentage with the tenths or hundredths values. (99.97%) The title case works properly in the merged JPEG.
from bi-aidetection.
@aesterling - DOH!! This fixes for image merging:
AITOOL-VORLONCD.zip
from bi-aidetection.
:) Will download and test shortly! Thank you!
from bi-aidetection.
Hmm, still showing the tenths/hundredths values on the merged JPEG.
Please forgive my ignorance, but am I updating the tool correctly?
- I download the release ZIP. (in this case, from your comment above.)
- I right-click > Properties > "Unblock" then unzip the contents.
- Next I stop the running AI Tool, copy the contents from the unzipped folder to my AI Tool folder (C:\ai_tool) and overwrite the existing files.
Can I keep the AITool.exe.config and AITool.Settings.json files from the previous version to avoid re-configuring those settings, or do they need to be deleted and recreated from scratch?
Before leaving this comment, I deleted all the files and replaced them with the contents of the ZIP. I then changed the DisplayPercentageFormat in the JSON file to {0:0}%. The confidence percentage appears as expected in the AI Tool (97%) interface, but still with the decimal place digits in the merged JPEG (97.89%).
Thanks!
from bi-aidetection.
That is the correct procedure, and you can keep your last json file, they should always be forward compatible, not always back.
That is my exact format setting here, and it reflects the change in merged files that were copied. You wont of course see the "merged" changes when viewing history tab.
from bi-aidetection.
@VorlonCD great improvements in your latest release! I'm sure you've seen, BI just added the ability to use an external image as the "alert" image, specified using the &jpeg=path parameter in the trigger URL.
In testing this today, AI Tool's [ImagePath] variable appears to point to C:\Users\Name\AppData\Local\Temp... rather than to the location set in AI Tool > Cameras > Actions > Settings > Copy alert images to folder.
Please let me know if this is intentional or maybe I'm just misunderstanding something. The goal is to use the "Merge annotation into images" JPEG as my BI alert image. Thanks!
from bi-aidetection.
@aesterling - I didnt know about that! Very nice. The push I made to the code just now should fix the imagepath issue - let me know.
from bi-aidetection.
I also just added a new [ImagePathEscaped] variable for use with that. Seems to work great! I can see the merged annotations in BI now.
from bi-aidetection.
Awesome, I always have to wait for you to compile, but looking forward to testing it!
I'm having some trouble and wondering if the JPEG is still being written to disk when BI tries to grab it. The same URL works fine when I load it in my browser, but not from AI Tool. Will keep testing!
from bi-aidetection.
How is this latest version working with image copying and &jpeg=[ImagePathEscaped]?
from bi-aidetection.
The annotated and merged image shows up as my alert image in BI! ...and then BI immediately crashes. Looking into that problem, but AI Tool is working as intended!
EDIT: Sounds like the crashing was a known BI bug and hopefully fixed in last night's v5.3.3.4 update.
from bi-aidetection.
Related Issues (20)
- telegram notifications skip every 10 minutes feature HOT 19
- New Win11 Updates broke AITool HOT 5
- detection gone weird HOT 1
- Not sure how to correct this error- debug file deleted HOT 6
- Deepstack randomly failing HOT 1
- disadvantages of not using queue? HOT 5
- Not a Issue- Just a Question HOT 2
- Separate "Triggering Objects" for Telegram is not working HOT 2
- Save Button Not Showing On Latest Update 2.5.25 HOT 3
- 2.5.44 Custom models on "AiServerURL's" always saves as Linked. HOT 5
- AITool crashes when adding cameras HOT 1
- run external program suddenly stopped working after windows 10 22H2 update HOT 1
- Telegram "Invalid Format" HOT 1
- can't add a Camara HOT 7
- database disk image is malformed [SQLiteException] Mod: InsertHistoryItem(History hist) Line:258:21267195 HOT 6
- GUI Freezes HOT 1
- AI Tool crashed with a System Error warning about a buffer overrun HOT 6
- Bitdefender sees Telegram.bot.dll as malware HOT 1
- System.InvalidOperationException: Failed to compare two elements in the array. HOT 5
- Add Support for SimpleX Chat - Open source privacy focused messenger HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bi-aidetection.