标题: Using C++ to get a video and calculate mean of picture [打印本页]

作者: frank_tw    时间: 2019-6-17 13:43
标题: Using C++ to get a video and calculate mean of picture
Using C++ to get a video and calculate mean of picture

单片机源程序如下:
  1. //---------------------------------------------------------------------------

  2. #include <vcl.h>
  3. #pragma hdrstop
  4. #include <tchar.h>
  5. //---------------------------------------------------------------------------
  6. USEFORM("Unit1.cpp", Form1);
  7. //---------------------------------------------------------------------------
  8. int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
  9. {
  10.         try
  11.         {
  12.                 Application->Initialize();
  13.                 Application->MainFormOnTaskBar = true;
  14.                 Application->CreateForm(__classid(TForm1), &Form1);
  15.                 Application->Run();
  16.         }
  17.         catch (Exception &exception)
  18.         {
  19.                 Application->ShowException(&exception);
  20.         }
  21.         catch (...)
  22.         {
  23.                 try
  24.                 {
  25.                         throw Exception("");
  26.                 }
  27.                 catch (Exception &exception)
  28.                 {
  29.                         Application->ShowException(&exception);
  30.                 }
  31.         }
  32.         return 0;
  33. }
  34. //---------------------------------------------------------------------------
复制代码

所有资料51hei提供下载:
Video_test.7z (3.84 MB, 下载次数: 3)







欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1