Skip to content

Any ideas for how to use multiprocessing with dpg.load_image? #1792

Discussion options

You must be logged in to vote

https://github.com/Pcothren/DearPyGui-Examples/blob/main/camera_capture_with_opencv.py

https://www.youtube.com/watch?v=-JZK8h-3bNk

This example uses Numpy for the conversion from OpenCV to DPG textures. There should be a built in conversion in OpenCV, but I don't know exactly how. Someone suggested using convertTo() and cvtColor(). Or maybe something like image = cv2.cvtColor(view , cv2.COLOR_BGR2RGB).

Hope this helps.

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@keck-in-space
Comment options

Comment options

You must be logged in to vote
2 replies
@keck-in-space
Comment options

@bandit-masked
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@keck-in-space
Comment options

@keck-in-space
Comment options

Answer selected by keck-in-space
Comment options

You must be logged in to vote
4 replies
@keck-in-space
Comment options

@bandit-masked
Comment options

@keck-in-space
Comment options

@mkotlarz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
4 participants