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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. motion detection

motion detection

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
6 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.
  • C Offline
    C Offline
    ceejeeb
    wrote on last edited by
    #1

    I need to knwo how to compare to bitmaps so as to detect motion. The bitmaps come from a webcam stream and i have managed to grab the frames as needed. I just now need help in comparing these frames for motion.

    R C H 3 Replies Last reply
    0
    • C ceejeeb

      I need to knwo how to compare to bitmaps so as to detect motion. The bitmaps come from a webcam stream and i have managed to grab the frames as needed. I just now need help in comparing these frames for motion.

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Interesting project. Must be some 2 lines of code, but I can't get it now! :-D


      Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

      1 Reply Last reply
      0
      • C ceejeeb

        I need to knwo how to compare to bitmaps so as to detect motion. The bitmaps come from a webcam stream and i have managed to grab the frames as needed. I just now need help in comparing these frames for motion.

        C Offline
        C Offline
        Cool Ju
        wrote on last edited by
        #3

        Hi, Are the frames captured color? If it is color then image subtraction is time consuming. I would suggest you convert ur color images to monorchrome amd use image subtraction. Adios, Cool Ju :cool: Dream Ur Destiny

        C 1 Reply Last reply
        0
        • C Cool Ju

          Hi, Are the frames captured color? If it is color then image subtraction is time consuming. I would suggest you convert ur color images to monorchrome amd use image subtraction. Adios, Cool Ju :cool: Dream Ur Destiny

          C Offline
          C Offline
          ceejeeb
          wrote on last edited by
          #4

          yes they are in color at the moment. So how do i convert them to monochrome and then how to i do image subtraction?

          C 1 Reply Last reply
          0
          • C ceejeeb

            yes they are in color at the moment. So how do i convert them to monochrome and then how to i do image subtraction?

            C Offline
            C Offline
            Cool Ju
            wrote on last edited by
            #5

            Hi, Google it. This article would be much help to you. Motion Detection[^] Adios, Cool Ju :cool: Dream Ur Destiny

            1 Reply Last reply
            0
            • C ceejeeb

              I need to knwo how to compare to bitmaps so as to detect motion. The bitmaps come from a webcam stream and i have managed to grab the frames as needed. I just now need help in comparing these frames for motion.

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              See Motion Detection Algorithms[^] does it helpful for you? :)


              WhiteSky


              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