Starting with DetectorPack PSIM 1.0.1.330, a new SDK is installed. If detectors already created and running on the old SDK are upgraded to a new SDK, do the following on the Parameters tab: - Add the "background_model": {"model_size":1} parameter to the abandoned block,
- Recalculate the objsizemax and objsizemin parameters using the formula:
Sc * (H/100), where Sc is a minimum or maximum size of an object from the old configuration variant, H is a frame height determined by the "analytics_resolution" parameter. You cannot view the "analytics_resolution" parameter, so we recommend you calculate the frame height yourself. To do this, take the value of the Scale frame to (pix.px) parameter and divide it by 1.777, for example, 640/1.777 = 360 (take the integer part of the division), so the width of the frame is set as 640 and the height is set as 360. - If there is the learning block, then rename the period parameter to background and rename the post_period parameter to scene, and also specify the values for them in seconds instead of milliseconds.
|