How to take screenshot (high fps) in Linux (programming)
问题 First of all I want to say that I've been reading a lot about this and I've learnt many ways to do it, but I haven't been able to do it in linux. My project is an ambilight with arduino, so I need to take a screenshot of the desktop and analyze its colour. At the beginning I used Processing 2.0 with the class 'Robot' from 'java.awt'. Initially I could take 5 frames per second and then I got 13fps. This works but I want more perfomance, so I start reading. In Windows or Mac you have libraries