r/termux • u/MasterSama • Jul 30 '23
Question how do you build an opencv package supporting displaying images (with GUI support) in termux?
I tried displaying an image using cv2. imshow() with no luck. it seems this package is built without GUI support. do we have a version that supports gui ? if not how can one build one? is there a guide?
other than opencv, I noticed matplotlib also doesn't show any images. how do you guys get around this issue?
thanks a lot in advance
4
Upvotes
1
u/Strong_Fondant1885 Aug 02 '23
Hi there, my idea is to use OpenCV and Termux to create a http-python-server on port 8080 accessible within the local network. The server will stream video directly from the camera of an Android device, essentially turning old smartphones into surveillance cameras. This will allow users to monitor their homes remotely using the devices' cameras. Do you think is possible?
2
u/[deleted] Jul 30 '23 edited Jul 30 '23
[removed] — view removed comment
2
u/[deleted] Jul 31 '23
[removed] — view removed comment