Git Product home page Git Product logo

xiaojigou / xjgarsdkdemoapp-mac Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 18.56 MB

本项目包含免费的XJGARSDK及示例开源代码。XJGARSDK是一个免费的跨平台实时视频处理库,只需学会一套API就可以在MAC、Windows、Linux、IOS、Android等主流操作系统,提供了业界领先的视频磨皮美颜、视频滤镜、人脸实时整形(瘦脸、大眼睛等)、人脸动态贴纸等功能的库。XJGARSDK基于OPENGL开发。

Home Page: http://www.xiaojigou.cn

CMake 15.17% C++ 84.83%

xjgarsdkdemoapp-mac's People

Contributors

xiaojigou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

johndpope adteven

xjgarsdkdemoapp-mac's Issues

实时速度多快

hi
我在mac上试用了你的代码,发现速度比较慢 (3fps),请问是不是因为我的使用方法不对
我在编译了你的源代码之前,
我把显示图像的尺寸1280x720 改为640x480
把glutGet(GLUT_ELAPSED_TIME)该为了我自己写的
#include <sys/time.h>
getCurrentTime(){
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec + tv.tv_usec * 1.0e-6;
}
因为使用glutGet(GLUT_ELAPSED_TIME)获取的时间差始终是0,因此这个方法不可用
每60帧计算一次帧率,结果是3fps
请问有什么办法可以提高速度?

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.