凝视跟踪眼睛出错 [英] Error in gaze tracking eyex
本文介绍了凝视跟踪眼睛出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在库中出现错误请任何人对此代码进行排序我使用了sdk并开发了凝视跟踪应用程序但我收到错误请帮助我
< b>我尝试过:
i am getting errors in the libraries please anyone sort this code i have use an sdk and developed gaze tracking application but i am getting errors please help me
What I have tried:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gaze_tracking_application
{
using EyeXFramework;
using System;
using Tobii.EyeX.Framework;
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void pictureBox1_Click(object sender, EventArgs e)
{
using (var eyeXHost = new EyeXHost())
{
// Create a data stream: lightly filtered gaze point data.
// Other choices of data streams include EyePositionDataStream and FixationDataStream.
using (var lightlyFilteredGazeDataStream = eyeXHost.CreateGazePointDataStream(GazePointDataMode.LightlyFiltered))
{
// Start the EyeX host.
eyeXHost.Start();
// Write the data to the console.
lightlyFilteredGazeDataStream.Next += (s, e) => Console.WriteLine("Gaze point at ({0:0.0}, {1:0.0}) @{2:0}", e.X, e.Y, e.Timestamp);
// Let it run until a key is pressed.
Console.WriteLine("Gaze data recording, press any key to exit...");
Console.In.Read();
}
}
}
private void pictureBox2_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
推荐答案
不熟悉库。
您是否尝试过联系图书馆作者或作者/公司是否有支持论坛/电子邮件?
Not familiar with the library.
Have you tried contacting the author of the library or does the author/company have a support forum/email?
这篇关于凝视跟踪眼睛出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文