標(biāo)題: Using C++ to get a video and calculate mean of picture [打印本頁]

作者: frank_tw    時間: 2019-6-17 13:43
標(biāo)題: Using C++ to get a video and calculate mean of picture
Using C++ to get a video and calculate mean of picture

單片機(jī)源程序如下:
  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. //---------------------------------------------------------------------------
復(fù)制代碼

所有資料51hei提供下載:
Video_test.7z (3.84 MB, 下載次數(shù): 3)







歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1