'A Javascript & Python web image capture with time capture placed in order
I'm trying to create a web image capture in python (Django if needed) that takes a photo and displays the record of the time capture with the picture taken, and arranges every picture taken in a chronological order.
.A Web page that allows capturing images using cellphone.
.The images are submitted along with time of capture, for record keeping purpose.
.Another page allows viewing those images chronologically.
#here is the code of my camera capture
#tried adding time capture with chronologically slideshow but I experienced major errors
#I hope to hear some feedback (Thank you in advance)
import cv2 as cv
cam_port = 0
cam = cv.VideoCapture(cam_port)
result, image = cam.read()
if result:
cv.imshow("freetry", image)
cv.imwrite("freetry.png", image)
cv.waitKey(0)
cv.destroyWindow("freetry")
else:
print("No image")
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
