Added Dark Model... process times slower?

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,432
Reaction score
47,556
Location
USA
BI is checking the image every two minutes or so to confirm static objects. So it should go there, analyze, and release it
 

105437

BIT Beta Team
Joined
Jun 8, 2015
Messages
1,995
Reaction score
881
Thanks! Do you know many images are sent for each camera every couple of minutes or so?
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,432
Reaction score
47,556
Location
USA
I believe it is just one but I haven't confirmed it or researched it more.
 

caduceus26

n3wb
Joined
Jun 11, 2021
Messages
26
Reaction score
12
Location
Florida
you need:

objects:0

not

object:0

check that
Thanks for the reply. I do have objects:0 as indicated in my previous posts. It does not appear to be working as some other posters have indicated as well.
 

caduceus26

n3wb
Joined
Jun 11, 2021
Messages
26
Reaction score
12
Location
Florida
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:

JL-F1

Getting the hang of it
Joined
Jun 12, 2020
Messages
115
Reaction score
71
Location
USA
Awesome, so crazy how it can be something so simple
 

VLITKOWSKI

Young grasshopper
Joined
May 9, 2019
Messages
75
Reaction score
7
Location
France
hello,

inverse is not working dark:0,objects

while looking at log and deepstack console, dark is still running
 

wittaj

IPCT Contributor
Joined
Apr 28, 2019
Messages
24,432
Reaction score
47,556
Location
USA
try just dark:0 without the objects. Bu default objects is running.
 

VLITKOWSKI

Young grasshopper
Joined
May 9, 2019
Messages
75
Reaction score
7
Location
France
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"
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
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.
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
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.
 

VLITKOWSKI

Young grasshopper
Joined
May 9, 2019
Messages
75
Reaction score
7
Location
France
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

Last edited:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
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:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
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:
Top