Additional parameters for database

This commit is contained in:
Mr-Dave
2022-04-29 19:51:18 -06:00
parent c093f23578
commit 753eb54507
7 changed files with 400 additions and 99 deletions

View File

@@ -1161,13 +1161,14 @@ void alg_location(ctx_cam *cam)
void alg_stddev(ctx_cam *cam)
{
/*
MOTION_LOG(DBG, TYPE_ALL, NO_ERRNO, "dev_x %d dev_y %d dev_xy %d, diff %d ratio %d"
, cam->current_image->location.stddev_x
, cam->current_image->location.stddev_y
, cam->current_image->location.stddev_xy
, cam->current_image->diffs
, cam->current_image->diffs_ratio);
*/
if (cam->conf->threshold_sdevx > 0) {
if (cam->current_image->location.stddev_x > cam->conf->threshold_sdevx) {