Skip to content

License ? #6

Description

@ebachard

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions