Skip to main content
100%

This code takes photo form android app ip_cam from two camera. It was used to with a Samsung S5 and S7 as bookscanner. It worked perfectally. In addition, You can see the video stream from VLC through the "ip + /video'.

✓ Published0🌍 Public
Aalbcunha
Last edited Feb 5, 2017
Created on Feb 5, 2017

This example captures book pages using two Android smartphone cameras as a book scanner. It fetches JPEG images from the IP cameras via HTTP requests with the `requests` and `grequests` libraries, then crops and rotates the images using PIL’s `Image` module. The code checks focus by displaying cropped previews before saving paired left and right page photos with sequential filenames.

AI-generated description

Similar vizzes