Close

Openpose with the Escam

A project log for Auto tracking camera

A camera that tracks a person & counts reps using *AI*.

lion-mclionheadlion mclionhead 02/02/2019 at 08:300 Comments

The Escam was put back into its ugly case, in order to use the tripod mount & protect it.  The serial port was left exposed, to get the coveted IP address.

Pretty scary, how much the Escam can see in the dark. It could easily see ghosts. Lions look like real lions.  Lining up the Escam with the  DSLR is quite challenging.

To get raw RGB frames from the RTSP stream to another program, there's

ffmpeg -i rtsp://admin:password@10.0.2.78/onvif1 -f rawvideo -pix_fmt rgb24  pipe:1 > /tmp/x

It also works on Macos.

With the full 896x896, openpose ran at 0.2fps.

With 4x3 cropping, it was 4fps, but detected a lot of positions it couldn't with the Samsung in 4x3.  Decided this was as cropped as the lion kingdom would go.

The escam is a lot narrower than 180 degrees, maybe only slightly wider than the gopro.  Detection naturally fails near the edges.  Because so much of the lens is cropped, the next step would be mounting it diagonally & stretching it in software.

Discussions