2022-09-22 20:57:46 -04:00
|
|
|
#ifndef MO_DETECT_H
|
|
|
|
#define MO_DETECT_H
|
|
|
|
|
|
|
|
// This file is part of Motion Watch.
|
|
|
|
|
|
|
|
// Motion Watch is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// Motion Watch is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
#include "common.h"
|
2022-12-04 15:13:39 -05:00
|
|
|
#include "web.h"
|
2022-09-22 20:57:46 -04:00
|
|
|
|
2022-10-04 18:12:32 -04:00
|
|
|
bool imgDiff(const Mat &prev, const Mat &next, shared_t *share);
|
2022-12-04 15:13:39 -05:00
|
|
|
bool moDetect(const string &buffFile, Mat &vidThumb, shared_t *share);
|
|
|
|
void wrOut(const string &buffFile, const Mat &vidThumb, shared_t *share);
|
|
|
|
Mat frameFF(VideoCapture *cap, int gap);
|
2022-09-22 20:57:46 -04:00
|
|
|
|
|
|
|
#endif // MO_DETECT_H
|