实验 1
实现摄像头实时监控及运动检测记录视频
知识点: 1.对摄像头数据的捕获 2.对捕获到的监控帧作背景处理 3.对监控视频做运动检测并记录视频
使用 C++ 和 OpenCV 提供的库函数,实现摄像头的实时监控功能,并通过监控画面的运动检测选择是否记录视频。监控人员可选择输出图像的模式以更容易的分辨监控中的异常情况。
知识点: 1.对摄像头数据的捕获 2.对捕获到的监控帧作背景处理 3.对监控视频做运动检测并记录视频
Foerc 共发布过 4 门课程
查看老师的所有课程 >
发
空间不足 啥情况啊
特别好!能够完全实现功能,学到很多!
尝试了很多次,从一开始下载opencv包时,就一直显示设备无足够空间,一直到最后运动监控的视频都无法生成
。。。。。
初识OpenCV
第一步安装open cv那里有问题,安装不了OpenCV, does not appear to contain CMakeLists.txt
学习
第一步安装open cv那里有问题,虽然通过了,但环境中报错,没有显示出face来
highgui error:v4lv4l2 vidioc_s_crop 发生这个错误怎么回事啊?
问一下,我在自己电脑上ubuntu 16.04下运行本课程代码,但是阈值显示不出来,怎么回事啊,而且运行test.mp4的时候和运行摄像头的时候都是处于静止的状态下就一直在记录,怎么回事啊?
课程里有完整代码
我想问一下这个一共有多少行代码呀?
[ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/featuretracker.cpp.o [ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/fuzzymeanshifttracker.cpp.o [ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/parvoretinafilter.cpp.o [ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/lda.cpp.o [ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/openfabmap.cpp.o [ 70%] Building CXX object modules/contrib/CMakeFiles/opencv_contrib.dir/src/rgbdodometry.cpp.o /home/zac/OpenCV/opencv-2.4.13/modules/contrib/src/rgbdodometry.cpp:65:47: fatal error: unsupported/Eigen/MatrixFunctions: No such file or directory
include <unsupported/Eigen/MatrixFunctions>
compilation terminated. make[2]: * [modules/contrib/CMakeFiles/opencv_contrib.dir/src/rgbdodometry.cpp.o] Error 1 make[1]: * [modules/contrib/CMakeFiles/opencv_contrib.dir/all] Error 2 make: *** [all] Error 2
defined reference to
std::__throw_out_of_range_fmt(char const*, ...)' ../../lib/libopencv_ts.a(ts_gtest.cpp.o): In function
testing::TestResult::GetTestPartResult(int) const': ts_gtest.cpp:(.text._ZNK7testing10TestResult17GetTestPartResultEi+0x4d): undefined reference tostd::__throw_out_of_range_fmt(char const*, ...)' ../../lib/libopencv_ts.a(ts_gtest.cpp.o): In function
testing::TestResult::GetTestProperty(int) const': ts_gtest.cpp:(.text._ZNK7testing10TestResult15GetTestPropertyEi+0x3d): undefined reference tostd::__throw_out_of_range_fmt(char const*, ...)' ../../lib/libopencv_ts.a(ts_gtest.cpp.o): In function
testing::TestResult::Failed() const': ts_gtest.cpp:(.text._ZNK7testing10TestResult6FailedEv+0x96): undefined reference tostd::__throw_out_of_range_fmt(char const*, ...)' ../../lib/libopencv_ts.a(ts_gtest.cpp.o):ts_gtest.cpp:(.text._ZN7testing8internal24XmlUnitTestResultPrinter29TestPropertiesAsXmlAttributesERKNS_10TestResultE+0x1dc): more undefined references to
std::__throw_out_of_range_fmt(char const*, ...)' follow collect2: error: ld returned 1 exit status make[2]: * [bin/opencv_perf_core] Error 1 make[1]: * [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2 make: *** [all] Error 2