Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send continuous image(not video stream) read from camera #10

Open
ardeal opened this issue Apr 1, 2021 · 0 comments
Open

send continuous image(not video stream) read from camera #10

ardeal opened this issue Apr 1, 2021 · 0 comments

Comments

@ardeal
Copy link

ardeal commented Apr 1, 2021

Hi,

I will read frame from a web camera, and then do some image processing. I then send the processed image to browser in real time.
Here are the steps I take:

step 1: read frame(image) from camera
step 2: process the image
step 3: send the processed image to browser
step 4: repeat step 1

my questions are:

  1. I could send each image as xxx.jpg to browser. but image is not encoded, the size of the image might be much big. is this the best solution?

  2. If I use FFMPEG or webrtc to encode the image but not continuous images(all images are separate image but not video stream), how to do this? is the encoding effective?

  3. do you have good solution for my case? Do you have the example code based on your code to solve my case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant