Simple server-client application in python | Webcam autofocus | Demo

preview_player
Показать описание
This video is demonstration of an autofocus camera that is powered by raspberry pi and Lego. The gear assembly is made of Lego and a manual focusing camera is turned in to automatic focus camera via attached gears on the lens. The server Python code runs at Raspberry Pi, and listens for an incoming connection. The server can receive messages from client, and perform lens rotation actions. The lens moves forward or back based on the commands. A CV algorithm/agent runs at the client side in PC, it takes the USB camera frames and takes Laplacian to find the amount of blur, and based on it, it can take actions: forward, back or stop. Real-time Matplotlib plot is used to show current level of Laplacian variance.


#raspberrypi
#raspberry
#opencv
Рекомендации по теме
Комментарии
Автор

the plot graph not working in pycharm anybody can help?

eslam_nagy