五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

當大學生學了C語言后

2023-02-27 02:11 作者:莫語浮生  | 我要投稿

#include <iostream>

#include <openCV2/opencv.hpp>

#include<easyx.h>

#include<mmsystem.h>

#pragma comment(lib,"winmm.lib")

using namespace std;

using namespace cv;

int main()

{

VideoCapture video("./aikun.mp4");

mciSendString("open aikun.mp3", 0, 0, 0);

Mat image;

Mat show;

string txt;

initgraph(video.get(CAP_PROP_FRAME_WIDTH) * 2, video.get(CAP_PROP_FRAME_HEIGHT) * 2);

BeginBatchDraw();

while (1)

{

video >> image;

if (image.empty())

{

break;

}

imshow("badapple", image);

resize(image, show, Size(),0.125*1,0.125*1);

cvtColor(show, show, COLOR_RGB2GRAY);

for (int i=0;i<show.rows;i++)

{

for (int j = 0; j < show.cols; j++)

{

if (show.at<uchar>(i,j)<= 128)

{

txt +="11";

}

else

{

txt += "00";

}

}

outtextxy(0, i*16, txt.c_str());

txt.clear();

}

FlushBatchDraw();

waitKey(1000 / video.get(CAP_PROP_FPS));

cleardevice();

mciSendString("play aikun.mp3", 0, 0, 0);

}

EndBatchDraw();

closegraph();

return 0;

}

當大學生學了C語言后的評論 (共 條)

分享到微博請遵守國家法律
延川县| 安国市| 衢州市| 双鸭山市| 襄樊市| 松溪县| 开江县| 遂宁市| 怀化市| 定南县| 林州市| 大新县| 商水县| 建平县| 西吉县| 张家界市| 灌南县| 景德镇市| 荥阳市| 古交市| 色达县| 横峰县| 漳浦县| 丽水市| 苏尼特右旗| 休宁县| 珲春市| 张北县| 江安县| 鹿泉市| 获嘉县| 天峻县| 浮梁县| 南和县| 淮滨县| 耒阳市| 中卫市| 华坪县| 柏乡县| 宁安市| 罗平县|