The class fullscreen.FullScreen is incompatible with Processing 2.0.
A library (or other code) is using registerKeyEvent() which is no longer available.
The haar classifier cascade file 'C:\Program Files\OpenCV\data\haarcascade_frontalface_alt.xml' can not be found in folders, you must specify the full path instead.
** (java.exe:1452): WARNING **: gstvideo: failed to get caps of pad rgb:sink
An OutOfMemoryError means that your code is either using up too much memory
because of a bug (e.g. creating an array that's too large, or unintentionally
loading thousands of images), or that your sketch may need more memory to run.
If your sketch uses a lot of memory (for instance if it loads a lot of data files)
you can increase the memory available to your sketch using the Preferences window.
Exception in thread "Animation Thread" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
at java.awt.image.Raster.createPackedRaster(Raster.java:458)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:312)
at processing.core.PGraphicsJava2D$ImageCache.update(PGraphicsJava2D.java:1324)
at processing.core.PGraphicsJava2D.imageImpl(PGraphicsJava2D.java:1261)
at processing.core.PGraphics.image(PGraphics.java:3539)
at processing.core.PApplet.image(PApplet.java:12248)
at detectface.display(detectface.java:88)
at you_are_einstein.draw(you_are_einstein.java:124)
at processing.core.PApplet.handleDraw(PApplet.java:2266)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2140)
at java.lang.Thread.run(Thread.java:662)
An OutOfMemoryError means that your code is either using up too much memory
because of a bug (e.g. creating an array that's too large, or unintentionally
loading thousands of images), or that your sketch may need more memory to run.
If your sketch uses a lot of memory (for instance if it loads a lot of data files)
you can increase the memory available to your sketch using the Preferences window.
Exception in thread "Thread-5" java.lang.OutOfMemoryError: Java heap space
at processing.core.PImage.init(PImage.java:243)
at processing.core.PImage.<init>(PImage.java:229)
at processing.core.PImage.get(PImage.java:826)
at processing.core.PImage.get(PImage.java:841)
at mycapture.get_image(mycapture.java:48)
at detectface.run(detectface.java:74)
Instead of having einstein face, it appear only real time captured of me and a glitch