Very interesting work, it would be very interesting to add webcam by using OpenCV.
It would allow people to use it with a PC.
It is also possible to use a webcam with RPi with v4l2
We perform RT DIC driver experiments on RPi at 7Hz using 720p image from picamera using DISflow from OpenCV in our in house platform named CRAPPY, it would be great to try your software inside it !
Best Regards