Skip to content

[Question] Webcam through FastAPI #3862

Answered by ndonkoHenri
jiang131072 asked this question in Q&A
Discussion options

You must be logged in to vote

Try setting Image.gapless_playback to True (ref).
So in your case:

class LiveImage(ft.Image):
    def __init__(self):
        super().__init__(gapless_playback=True)
        # OR
        # self.gapless_playback = True
    def did_mount(self):
        ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jiang131072
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants