找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 2442|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

Using C++ to get a video and calculate mean of picture

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:434018 發(fā)表于 2019-6-17 13:43 | 只看該作者 |只看大圖 回帖獎勵 |倒序瀏覽 |閱讀模式
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. //---------------------------------------------------------------------------
復(fù)制代碼

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


評分

參與人數(shù) 1黑幣 +50 收起 理由
admin + 50 共享資料的黑幣獎勵!

查看全部評分

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復(fù) 返回頂部 返回列表