Giter Site home page Giter Site logo

xuhao1 / foxtracker Goto Github PK

View Code? Open in Web Editor NEW
428.0 12.0 59.0 159.98 MB

Facial Head Pose Tracker for Gaming

License: GNU Lesser General Public License v2.1

QMake 1.05% C++ 33.28% C 1.65% Batchfile 0.13% Jupyter Notebook 63.90%
dcs-world flight-simulator opentrack pointtracker tracker dcs

foxtracker's Introduction

Introduction

screenshot FOXTracker is a facial head tracker for gaming usage. Perform as TrackIR or Opentrack (pointtracker) as track camera controller for Flight Simulation Games like DCS.

Prerequst

A normal web camera.

opentrack is recommend to install now.

Windows 10 x64 is only offically support operating system.

Usage

This program is still under development, not stable yet. I will never collect any user data from your camera.

Download FOXTracker at Release

This program supports control games directly or uses Opentrack as backend. For now, the spline function is in development, so use Opentrack is a good idea. If you are using this program individually, please modify config or the config.yaml.

c1

Just turn your opentrack input to UDP and open FlightAgentX.exe. Everything works fine. c1 c2

Also, you may use dcs.ini here.

Video can be found on https://www.bilibili.com/video/BV1fv411k778

Chinese Commentary https://www.bilibili.com/video/BV1ey4y1C7Za

Future Plan (Maybe in a year)

  1. Try to reinforce the robust of the tracker.
  2. Will add spline function.

LICENSE

LGPL

Third-party Libraries

OpenCV

dlib

UGlobalHotkey

yaml-cpp

Eigen

ONNX-Runtime

FSA-Net LICENSE: Apache 2.0 https://github.com/shamangary/FSA-Net/blob/master/LICENSE

OpenSeeFace Thanks @emilianavt 's network!

aitracker

介绍

这是一个基于面部识别的头瞄,用于模拟类游戏。和TrackIR或者opentrack(如国内流行的pointtracker)功能类似,但是只需要摄像头。 请参阅中文文档

视频见b站 https://www.bilibili.com/video/BV1ey4y1C7Za

未来一年内的开发计划

  1. 加强脸瞄的稳定性
  2. 加入曲线编辑功能

协议

LGPL

foxtracker's People

Contributors

omegatao avatar xuhao1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foxtracker's Issues

Use MJPEG format for high speed camera support

Windows 10 下高帧率相机默认采集无压缩 YUY2 流导致帧数降低到个位数,希望作者能添加一个启用 MJPEG 流的选项

在 src/HeadPoseDetector.cpp 里

    cap.set(cv::CAP_PROP_FRAME_WIDTH, 640);  
    cap.set(cv::CAP_PROP_FRAME_HEIGHT, 480);  
    cap.set(cv::CAP_PROP_FPS, settings->fps);  

加上

cap.set(cv::CV_CAP_PROP_FOURCC, cv::CV_FOURCC('M', 'J', 'P', 'G') );

就可以了。默认开启应该也没什么副作用。
谢谢!

希望摇杆热键能解绑

现在Hotkeys只能绑定不能解绑,希望增加在绑定窗口按Esc键或其他按键解绑的功能

several cameras

Hi! how can switch between cameras? I have 3 and fox chose wrong one

C1000e无图像输出

大佬好,使用的c1000e摄像头,但是无图像输出,id调整过了也没反应。使用opentracker有图像~

Issue with config properties

There is an issue with the following config properties:

out_bound_roll: 
out_bound_pitch: 
out_bound_yaw: 

For example, to get a value of 45 in the application one must set the config file to a value of 13.5

If you then change another property in the application it will overwrite the 13.5 with 45 in the config. When you next start the application it default to the maximum of 178.5. Finally it will be stuck at 178.5 (it will read 178.5 in the config, and in the application - I guess this is just the maximum value).

As a workaround you can make all property changes in the application, then manually edit the config file afterwards. As long as you do not change the properties from inside the application then you will not have to keep changing the config.yaml

Config not saved

Hi...Everytime I'm using FoxTracker I must reconfigure the setting becose they are not saved...But it works very fine even in low light conditions with a 10$ camera....I'm using it mainly in DCS w/o Opentrack ...So why it's not saving properly the configs I made ? Thank you...

卡顿问题

在玩DCS时,如果window focus在foxtracker上,DCS的画面没有卡顿问题。但是一旦回到游戏中,画面极其卡顿。

但是在我配置更低的老电脑上反而没有这个问题,运行流畅。

我同时用opentrack。如果不用opentrack,会好很多,但是还是有明显卡顿

Help using with Logitech Webcam C615

I've been using opentrack with Aruco PaperMaker for a while. Wanted to try this one because it looks amazing.
But when I open foxtracker (even with admin rights) it just doesn't pick up my camera, I get no video. I changed the name of the camera in the dcs.ini from PS3 Eye to HD Webcam C615 (which is just as it shows on opentrack when using aruco).

Could you help me config FOXTracker recognize the my Logitech HD C615 camera?

建议把第三方的依赖也打包到git上

INCLUDEPATH += ../third_party/opencv-4.4.0-build/include
INCLUDEPATH +=../third_party/eigen-3.3.7
INCLUDEPATH += ../third_party/dlib/include
INCLUDEPATH += ../third_party/YAML_CPP/include
INCLUDEPATH += ../third_party/onnxruntime-win-x86-1.5.1/include

建议将pro中这几个依赖也放到git中,这样大家贡献代码的时候更方便,不用到处找依赖了。

如果靠得太近会出现程序崩溃/闪退

如果靠得太近会出现程序崩溃/闪退

打开Foxtracker, (我小龙虾所有经常用)脸往凑着看,凑到它识别不了人脸的时候程序就崩溃了. 想必被我这帅脸惊艳到了

希望可以添加个异常捕捉什么的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.