I want to be able to run deep learning model on EC2 server with webcam as input real time.The entire process is described in following steps:
- Get webcam feed
- Transfer frames to EC2 instance
- Run inference of a deep learning model(An alpha matting model) and get the output
- Transfer the output back to client(local machine with webcam) and display
This process should ideally be almost real-time with minimal lag. The model runs around 20fps.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…