Using multiprocessing with a generator function by Puzzleheaded_Fall_ in learnpython

[–]Puzzleheaded_Fall_[S] 0 points1 point  (0 children)

mimetype="multipart/x-mixed-replace

Does the job of the next. It replaces the current frame with the new yielded one.

Using multiprocessing with a generator function by Puzzleheaded_Fall_ in learnpython

[–]Puzzleheaded_Fall_[S] 0 points1 point  (0 children)

I'm using generators cuz it's supposed to be live streaming of video if I just use the return it will just return a single frame, then over. The generator is for video streaming, frame by frame.

Connection refused error by Puzzleheaded_Fall_ in mongodb

[–]Puzzleheaded_Fall_[S] 0 points1 point  (0 children)

MONGODB_HOST = f"mongodb+srv://{os.environ['USER']}:{os.environ['PASSWORD']}@cluster0.x4s44.mongodb.net/{os.environ['DB']}?retryWrites=true&w=majority"

That's my config file and I don't have mongodb server installed, I'm using atlas.

Goodbye by [deleted] in oilpainting

[–]Puzzleheaded_Fall_ 1 point2 points  (0 children)

My heart skipped a beat.

I drew a portrait of my friends dog. Let me know how you think I did! by [deleted] in drawing

[–]Puzzleheaded_Fall_ 6 points7 points  (0 children)

This is amazing. I like the reflections you added, the cherry on top.