WatershedArts / Footfall

Application that allows you to monitor the traffic in and out of your building, using the RPi Camera and openFrameworks
Other
332 stars 131 forks source link

Data logging in csv format #56

Closed PRITIAEC10 closed 7 years ago

PRITIAEC10 commented 7 years ago

Can someone help me to create a log file of no.of people in and out in csv format?

DHaylock commented 7 years ago

Use the ofxCsv addon. Everytime you get an event of people coming in or out i.e

https://github.com/WatershedArts/Footfall/blob/master/RPi2/src/ofApp.cpp#L199 or https://github.com/WatershedArts/Footfall/blob/master/RPi2/src/ofApp.cpp#L222

Just use the addRow function in ofxCsv.