Comments (7)
maskedBlur is necessarily a resource-intensive operation. on modern machines it should not be a problem, but on older machines, or machines where the GLSL it is emulated in software, you will have a problem.
i recommend trying the CPUCloning example instead, and then rewriting the CloningWrapper to use the CPU.
from facesubstitution.
Thanks for your reply.
My machine is a 3.8GHz machine with a 8Gb RAM. And it has a Intel Core i7 Processor. It is a really powerful machine. I don't know why the program runs so slow on it.
Anyway, how to determine GLSL is emulated in software?
In addition, the CPUCloning example runs very fast.
from facesubstitution.
if you have a computer that has a switchable graphics card, it could be using the slower of the two.
or if the GLSL shader is using a feature that is not supported by the graphics card, then it could be falling back to emulation mode.
normally on OSX i use the opengl shader builder to let me know whether it's running in software mode or not. if you're on linux or windows, i'm not sure which tool to use.
maybe this line is confusing your graphics card:
#extension GL_ARB_texture_rectangle : enable
you could try removing that.
sorry i can't be more help!
from facesubstitution.
Thanks anyway. I will try. :)
from facesubstitution.
Problem solved!
After I install a new driver for my graphic card, my program now runs perfectly smooth. Thanks!
My graphic card is GeForce GT 530. The old driver version number was 8.17.12.6795. After I install a new driver for my machine, now it works flawlessly.
Thanks!
from facesubstitution.
hey great to hear! maybe post a link to the new graphics card driver, in case someone else has the same problem? then they can find the answer faster.
from facesubstitution.
If you are using Ubuntu 11.10, then by default the proprietary graphics driver are not loaded. You have to load it manually in order for the graphic card to work properly. Here is how to do it.
- Choose "Additional Drivers" from "System Settings";
- Choose "NVIDIA accelerated graphics driver(post-release updates)(version current-updates)" from "Additional Drivers";
- Click "Activate"
Then we are done.
from facesubstitution.
Related Issues (20)
- Compilation error : convexhull function HOT 1
- A ton of Apple Mach-O Linker (id) Errors while compiling HOT 2
- iOS possibility? HOT 3
- Missing Clone.h HOT 2
- image drag crashes app (and more) HOT 1
- compiling on Fedora 21 HOT 1
- Should it build fine on Windows?
- Which versions of Ofx, OfxCV and OfxFacetracker do I need to compile? HOT 3
- Scramble Suit example - OpenCV Error: Assertion failed (ssize.area() > 0) in resize HOT 2
- SImulate hard light blend mode
- Trying to compile in VS2015 ofxCV and ofxFaceTracker works fine but FaceSubstitution not HOT 1
- testApp.h not found in FaceSubsitution
- Create a custom mask without eyes and mouth HOT 1
- About iOS HOT 7
- GPUCloning can't work in iOS
- FaceSwap Example Request
- Face Substitution Not Working in android
- LNK2019
- FaceSubstitution build error (drawHighlightString was not declared)
- is this is still being worked on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facesubstitution.