Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

people detector in thousands of jpgs

  • I'm trying to sort through thousands of pictures in multiple directories for people.
  • The pictures are from a stationary security camera that takes a jpg each time motion is detected.
  • It is running day and night on a raspberry PI.
  • For computing power i've installed opencv on a windows desktop, for sorting the resulting pictures, for the moment.

Iv'e done some googling around and this looks good

The modified accepted answer on people tracking below:

from cv import *
 file ="C:/Users/dom/Dropbox/eclipse_luna/picdir/test_image.png"
 storage = CreateMemStorage(0) 
 img = LoadImage(file)  # or read from camera

 found = list(HOGDetectMultiScale(img,
 storage, win_stride=(8,8),
                 padding=(32,32), scale=1.05, group_threshold=2))

Could someone:

1) Explain how this works

2) When I run it I don't get any output, why?

3) Could someone point me in the direction of other simple similar examples / tutorials?

people detector in thousands of jpgs

  • I'm trying to sort through thousands of pictures in multiple directories for people.
  • The pictures are from a stationary security camera that takes a jpg each time motion is detected.
  • It is running day and night on a raspberry PI.
  • For computing power i've installed opencv on a windows desktop, for sorting the resulting pictures, for the moment.

Iv'e done some googling around and this looks good

The modified accepted answer on people tracking below:

from cv import *
 file ="C:/Users/dom/Dropbox/eclipse_luna/picdir/test_image.png"
 storage = CreateMemStorage(0) 
 img = LoadImage(file)  # or read from camera

 found = list(HOGDetectMultiScale(img,
 storage, win_stride=(8,8),
                 padding=(32,32), scale=1.05, group_threshold=2))
list(HOGDetectMultiScale(img,storage, win_stride=(8,8),padding=(32,32), scale=1.05,group_threshold=2))

Could someone:

1) Explain how this works

2) When I run it I don't get any output, why?

3) Could someone point me in the direction of other simple similar examples / tutorials?

people detector in thousands of jpgs

  • I'm trying to sort through thousands of pictures in multiple directories for people.
  • The pictures are from a stationary security camera that takes a jpg each time motion is detected.
  • It is running day and night on a raspberry PI.
  • For computing power i've installed opencv on a windows desktop, for sorting the resulting pictures, for the moment.

Iv'e done some googling around and this looks good

The modified accepted answer on people tracking below:

from cv import *
 file ="C:/Users/dom/Dropbox/eclipse_luna/picdir/test_image.png"
 storage = CreateMemStorage(0) 
 img = LoadImage(file)  # or read from camera

 found = list(HOGDetectMultiScale(img,storage, win_stride=(8,8),padding=(32,32), scale=1.05,group_threshold=2))

Could someone:

1) Explain how this works

2) When I run it I don't get any output, why?

3) Could someone point me in the direction of other simple similar examples / tutorials?