Webcam Capture



Je suis heureux de partager mon travail sur la capture d'images venant de webcam.
Merci à la communauté des développeurs, j'ai récupéré beaucoup de sources.
C'est du code VB.NET, je travaille sur un XP Pro, il peut y avoir des différences sur d'autres systèmes.
Trois points ardus :
  • Avoir un débit maximal : 90 images/sec (avec la caméra Philips SPC 900NC PC)
  • Pouvoir changer de caméra dans le même device (le secret est dans la base de registre)
  • Traiter plusieurs formats d'images(RGB24, I420 with DIB)
    Je n'arrive pas à dépasser 15 frames/sec en 640x480, limitation de l'USB ? Si quelqu'un a une idée...

    Mots clé :
  • I'm pleased to share my work around webcam capture.
    Thanks to the developers community, I get lots from every one.
    That's VB.NET source. I work with XP Pro.
    Three hard points :
  • To get the maximum frames rate : 90 frames/sec (with Philips SPC 900NC PC Camera)
  • To be able to change of camera in the same device (secret is in register database)
  • To treat multiple image format (RGB24, I420 with DIB)
    I can not get better than 15 frames/sec with 640x480 resolution, USB limitation ? If anyone has an idea...

    keywords :
  • AVICAP32 API
    capGetDriverDescriptionA, capCreateCaptureWindow, SendMessage
    WM_CAP_DRIVER_CONNECT, WM_CAP_SET_CALLBACK_VIDEOSTREAM, WM_CAP_DRIVER_GET_CAPS, WM_CAP_SEQUENCE_NOFILE, CAPSTATUS, CAPCAPABILITE, VIDEOHDR, CAPTUREPARMS, BITMAPINFOHEADER, BITMAPINFO
    VBNET, VB.NET, CapCam, Webcam capture
  • Download VB.NET sources



    Not sure I have time to answer to questions, but you can try to email me : edid@free.fr
    I'll also be pleased to get your optimized version (or english spelling correction...).