Added Dark Model... process times slower?

BI is checking the image every two minutes or so to confirm static objects. So it should go there, analyze, and release it
 
  • Like
Reactions: 105437
Thanks! Do you know many images are sent for each camera every couple of minutes or so?
 
you need:

objects:0

not

object:0

check that
One thing I hadn't considered is the possibility that the parameter might be case-sensitive (Objects:0 vs. objects:0). I'll try all lower-case and see if that makes a difference.
 
Last edited:
Awesome, so crazy how it can be something so simple
 
dark:0 only is not working


C:\DeepStack>c:\deepstack\deepstack.exe --VISION-DETECTION True --MODELSTORE-DETECTION "c:\deepstack\custom" --MODE=High --PORT 86
DeepStack: Version 2021.09.01
---------------------------------------
v1/vision/custom/dark
/v1/vision/detection
---------------------------------------
---------------------------------------
v1/backup
---------------------------------------
v1/restore
[GIN] 2021/10/21 - 21:17:34 |←[97;42m 200 ←[0m| 1.0148148s | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/detection"
[GIN] 2021/10/21 - 21:17:35 |←[97;42m 200 ←[0m| 56.7898ms | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/detection"
[GIN] 2021/10/21 - 21:17:35 |←[97;42m 200 ←[0m| 723.3306ms | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/custom/dark"
[GIN] 2021/10/21 - 21:17:35 |←[97;42m 200 ←[0m| 628.6346ms | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/custom/dark"
[GIN] 2021/10/21 - 21:18:05 |←[97;42m 200 ←[0m| 52.7982ms | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/detection"
[GIN] 2021/10/21 - 21:18:05 |←[97;42m 200 ←[0m| 91.9461ms | 127.0.0.1 |←[97;46m POST ←[0m "/v1/vision/custom/dark"
 
Guys, if you don't want to use the dark model in a particular schedule, just put a semi colon in the models box on the AI tab of the camera. No need for names, objects or numbers at all.
 
  • Like
Reactions: Vettester
Just a semi colon, not spaces, and remove any objects associated with the dark model, IE Car, People, etc. Dark model objects all start with a capital letter.
 
Just a semi colon, not spaces, and remove any objects associated with the dark model, IE Car, People, etc. Dark model objects all start with a capital letter.
I tried ";" only / "dark:0;" / "dark:0" => same result

in Deepstack log custom dark and objects are called by BI
 

Attachments

  • Sans titre.jpg
    Sans titre.jpg
    131.9 KB · Views: 20
Last edited:
  • Wow
Reactions: sebastiantombs
@VLITKOWSKI That's a real head scratcher. I don't have an answer for you.
 
I tried ";" only / "dark:0;" / "dark:0" => same result
Punctuation symbols may be an issue for international installs. To disable custom models you need only enter a non-existent custom model name. Try entering ‘none’ instead of the semicolon.

The :0 disable option is for the default objects and faces model options only.

Excerpt from the help pdf…

1635432383852.png
 
Last edited:
  • Like
Reactions: sebastiantombs
If all else fails, you can try the attached *.bat file to toggle the DeepStack custom files folder's visibility to Blue Iris.
It works by simply renaming the custom folder by appending/removing the suffix '_HIDDEN'.

To use:
1. Unzip 'DS_custom_toggle.bat' into the folder you use for batch files. NOTE: this folder should be included into your 'Path' system environment variable.
2. Open the *bat file in a text editor and change the line set main_path=C:\DeepStack\MyModels to reflect the path you've entered in Blue Iris Settings > AI tab > 'Custom models folder'.
3. Create shortcut to the batch file on your desktop.
4. Double-click the shortcut to execute the batch file.

You also can change the messaging options using the line set show_option=1

Finally you can use a command line argument to explicitly set the state of the custom folder DS_custom_toggle.bat [hide|unhide].
This could be used, for example, in a 'Run a program' action in the Blue Iris Settings > Profiles > 'On change...' action set.
 

Attachments

Last edited: