added some new functions + my own script derived from personDetectionExample