Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. web cam

web cam

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    is there a way I can control the working of a webcam using a windows application . if yes what are the API's I need to look at ?

    B C A 3 Replies Last reply
    0
    • A Anonymous

      is there a way I can control the working of a webcam using a windows application . if yes what are the API's I need to look at ?

      B Offline
      B Offline
      Beer26
      wrote on last edited by
      #2

      http://msdn.microsoft.com/library/default.asp?url=/library/EN-US/netmeet/nmstartpage_3bov.asp[^] you can get the platform sdk here http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ [^] These links will get you started with the netmeeting sdk, which is the easy way out of writing networking cam software. If you want to really write your own software from scratch, I'm sure somebody else will post some information for you as well for that. Or maybe not.

      1 Reply Last reply
      0
      • A Anonymous

        is there a way I can control the working of a webcam using a windows application . if yes what are the API's I need to look at ?

        C Offline
        C Offline
        csc
        wrote on last edited by
        #3

        you may try this link : http://www.naughter.com/vfwgrab.htm The app was made for posting images into web, but you may use the code (or some snippets) for your own ideas. :)

        A 1 Reply Last reply
        0
        • A Anonymous

          is there a way I can control the working of a webcam using a windows application . if yes what are the API's I need to look at ?

          A Offline
          A Offline
          Andrew Walker
          wrote on last edited by
          #4

          If you want to control the properties of the camera try DirectShow, specifically: the IAMCameraControl Interface the IAMVideoProcAmp Interface IAMCameraControl gives you access to typedef enum { CameraControl_Pan = 1, CameraControl_Tilt, CameraControl_Roll, CameraControl_Zoom, CameraControl_Exposure, CameraControl_Iris, CameraControl_Focus } CameraControlProperty; IAMVideoProcAmp gives you access to typedef enum tagVideoProcAmpProperty { VideoProcAmp_Brightness, VideoProcAmp_Contrast, VideoProcAmp_Hue, VideoProcAmp_Saturation, VideoProcAmp_Sharpness, VideoProcAmp_Gamma, VideoProcAmp_ColorEnable, VideoProcAmp_WhiteBalance, VideoProcAmp_BacklightCompensation, VideoProcAmp_Gain } VideoProcAmpProperty;


          If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling

          1 Reply Last reply
          0
          • C csc

            you may try this link : http://www.naughter.com/vfwgrab.htm The app was made for posting images into web, but you may use the code (or some snippets) for your own ideas. :)

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            Thank you for the help but I am unable to locate included in stdafx.h

            A 1 Reply Last reply
            0
            • A Anonymous

              Thank you for the help but I am unable to locate included in stdafx.h

              A Offline
              A Offline
              Anonymous
              wrote on last edited by
              #6

              i meant gdiplus.h

              C 1 Reply Last reply
              0
              • A Anonymous

                i meant gdiplus.h

                C Offline
                C Offline
                csc
                wrote on last edited by
                #7

                ok, got the problem .... i've downloaded that source and the needed gdiplus files are not included. So try this ... there is an other article named hints get GDI+ running here at codeproject : http://www.codeproject.com/useritems/codemaze.asp http://www.codeproject.com/useritems/CodeMaze/GDI+Files.zip The download file is about 1 MB big, but includes a complete gdi+ version (gdiplus*.* => dll, lib, headers). I have not tried to merge both projects and re-compile the exe, but if there are problems you may ask PJ Naughter directly for a hint.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups