copied from facial tracking from stream, will be adapted to be local