We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to figure out a way to get a section of pixels from a video and then be able to display that section of pixels how I chose. For example capturing video though built in camera loading in the pixels and then being able to draw a section of those pixels. So for instance you could split the video in to a 2x2 grid and then though getting the sections of pixels you could display the top right section in the bottom left section.
I have done this with images quite easily with the get(); function. This function is unavailable with video. I have also seen that Capture.crop no longer exists in the video library.
Any suggestions would be great!
Answers
Thanks for your reply! I now see how that relates. I found a useful post on stack overflow http://stackoverflow.com/questions/17705781/video-delay-buffer-in-processing-2-0
I ended up extending that by copying the previous frame by using createImage() and image.copy(). I then could use a for loop to iterate through the PImage array and get sections from that as they were delayed images not video. They are only delayed by 2 frames.
Here is my test: