Merge pull request #3463 from Dikay900:fix_sample_video_writer
This commit is contained in:
commit
46858c4328
@ -11,6 +11,8 @@
|
|||||||
#include "opencv2/cudacodec.hpp"
|
#include "opencv2/cudacodec.hpp"
|
||||||
#include "opencv2/highgui.hpp"
|
#include "opencv2/highgui.hpp"
|
||||||
|
|
||||||
|
#include "tick_meter.hpp"
|
||||||
|
|
||||||
int main(int argc, const char* argv[])
|
int main(int argc, const char* argv[])
|
||||||
{
|
{
|
||||||
if (argc != 2)
|
if (argc != 2)
|
||||||
@ -39,7 +41,7 @@ int main(int argc, const char* argv[])
|
|||||||
|
|
||||||
std::vector<double> cpu_times;
|
std::vector<double> cpu_times;
|
||||||
std::vector<double> gpu_times;
|
std::vector<double> gpu_times;
|
||||||
cv::TickMeter tm;
|
TickMeter tm;
|
||||||
|
|
||||||
for (int i = 1;; ++i)
|
for (int i = 1;; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user