Saving alert image as both original and marked-up

Post Reply
BBK
Posts: 13
Joined: Sun Oct 31, 2021 9:56 pm

Saving alert image as both original and marked-up

Post by BBK »

Q: Does anyone know if it's possible to have AI confirmation burn markup onto image when it comes to alerts, but also export/save a non-marked up image somewhere? I'm open to workarounds like saving the frame immediately before or after (as a single frame difference will likely contain the same object) if there's no way to get that specific frame both non-marked and marked. A second or more of difference though seems to miss the action

When I say marked-up or burned, I'm talking about this setting:

Image

My use case is training my own model. I'd still like push notifications and email to come through with marked up images so I can quickly tell what the object is, where it was detected, if it's a false positive, etc. However, I'd also like to use that image to reinforce a new model, which won't work if there's a giant confirmation box burned into the image. If I have markup enabled, it applies to all on alert actions though, such as uploading the image to FTP or in the alerts directory. I'm wondering if there's a workaround like using a Do Command action or something.

So far I've tried:
  • Alert actions -> FTP Upload of the camera image (not the alert image, since this has the burn in). This tends to be a few seconds behind the actual trigger image though, and often misses the action.
  • Alert -> Add to the alerts list, "Hi-res JPEG files". This doesn't seem to do anything different from add to database only. I only see the original alert image with the markup burn in the Alerts folder, and the image that's created looks like the same resolution as the standard images.
  • Record -> JPEGs isn't ideal. Using "When alerted" will often lag a few seconds behind, kind of like that of the FTP upload of the camera image when the alert triggers. By the time the trigger fires, the object may be gone. "When triggered" doesn't work for me, both because the timing is off and because that would create a ton of false positive images.
BBK
Posts: 13
Joined: Sun Oct 31, 2021 9:56 pm

Re: Saving alert image as both original and marked-up

Post by BBK »

When nobody seemed to have an answer here or on Discord, I put in a feature request to Ken. He turned it around in 4 days, thank you! You can now save an alert image without the markup under the FTP alert actions.

Image
User avatar
TimG
Posts: 2675
Joined: Tue Jun 18, 2019 10:45 am
Location: Nottinghamshire, UK.

Re: Saving alert image as both original and marked-up

Post by TimG »

Result ! Well done :D
Forum Moderator.
Problem ? Ask and we will try to assist, but please check the Help file.
Post Reply