a0ee8e35f7
completely removed object detection code because I don't foresee going back to that model anytime soon. diffs will not reset to 0 instead decrement and the consecutive pixel diffs are now adjustable via consec_threshold. updated README.md for the changes to pixel diff detection.
8 lines
314 B
CMake
8 lines
314 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project( MotionWatch )
|
|
find_package( OpenCV REQUIRED )
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -pthread")
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
|
add_executable( mow src/main.cpp src/common.cpp src/mo_detect.cpp )
|
|
target_link_libraries( mow ${OpenCV_LIBS} )
|