侵权投诉
订阅
纠错
加入自媒体

疑似小米3真机曝光 看小米手机酷玩激光虚拟键盘

  key g_keymap[] =
  {
  {'4',525,350,588,419},
  {'5',442,345,504,414},
  {'6',360,339,422,408},
  {'7',277,332,342,404},
  {'8',198,327,259,399},
  {'9',121,320,174,389},
  {'0',41, 318,94, 383},
  {'E',528,274,590,337},
  {'R',443,267,507,332},
  {'T',359,263,428,327},
  {'Y',280,259,344,321},
  {'U',199,251,261,315},
  {'I',119,246,179,307},
  {'O',41, 240,96, 301},
  {'D',504,203,567,259},
  {'F',424,199,489,257},
  {'G',348,194,410,251},
  {'H',266,187,329,245},
  {'J',192,183,251,241},
  {'K',117,178,171,236},
  {'L',42 ,174,92, 229},
  {'X',543,144,605,197},
  {'C',467,139,530,191},
  {'V',392,135,457,190},
  {'B',316,128,377,181},
  {'N',242,124,299,176},
  {'M',171,118,225,172},
  {'<',98, 114,149,166},
  {'>',26, 108,73, 159},
  {'_',182,62, 531,127},
  };

  int g_key_num = sizeof(g_keymap)/sizeof(key);

  int main()
  {
  CvTracks tracks;

  cvNamedWindow("red_object_tracking", CV_WINDOW_AUTOSIZE);

  CvCapture *capture = cvCaptureFromCAM(0);
  cvGrabFrame(capture);
  IplImage *img = cvRetrieveFrame(capture);

  CvSize imgSize = cvGetSize(img);

  IplImage *frame = cvCreateImage(imgSize, img->depth, img->nChannels);

  IplConvKernel* morphKernel = cvCreateStructuringElementEx(5, 5, 1, 1, CV_SHAPE_RECT, NULL);

<上一页  1  2  3  4  5  6  7  8  下一页>  余下全文
声明: 本网站所刊载信息,不代表OFweek观点。刊用本站稿件,务经书面授权。未经授权禁止转载、摘编、复制、翻译及建立镜像,违者将依法追究法律责任。

发表评论

0条评论,0人参与

请输入评论内容...

请输入评论/评论长度6~500个字

您提交的评论过于频繁,请输入验证码继续

暂无评论

暂无评论

激光 猎头职位 更多
文章纠错
x
*文字标题:
*纠错内容:
联系邮箱:
*验 证 码:

粤公网安备 44030502002758号