Open
Description
Hello,
Thanks a lot for all the code sample you share. Just wondering : under which license is everything ? (more precisely : opengl/glfw_webcam_image_process.c file).
To tell you more, I played with opengl/glfw_webcam_image_process.c to horizontaly flip the captured image and I was wondering how to proceed in the case you are interested with the changes. Of course, I can attach a diff , but the code looks not that clean, sorry.
- Originaly : I remember the code was not compiling (Linux x86_64 for me), and the gpu shader didn't work (imho) as expected
- Now : I modified some coordinates in the fragment shader -program2- and I implemented some uniform value, and now, hit the F key allows to flip/unflip horizontaly in real time what the webcam provides. Just a toy as you can see, but the idea was to show the cpu overload is close to 0%, eating only 22 MB of RAM (640 x 480 at 30fps, GPU , e.g. using Logitech C920). Last but not least, I got other ideas, but I probably will reimplement verything using another code base (SDL2 + ImGui for me)
- More information about the renderer : OpenGL version: 4.5 (Core Profile) Mesa 18.0.5; GLSL version: 4.50, Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)
Thanks in advance!
--
ericb
Metadata
Metadata
Assignees
Labels
No labels