MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / main

Function main

recognition/scripts/face_detection_node.py:341–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 return out
340
341def main():
342 sensor_name = '/kinect2_head' if len(sys.argv) < 2 else '/' + sys.argv[1]
343 print 'sensor_name', sensor_name
344
345 rospy.init_node('face_detection_node_' + sensor_name[1:])
346 node = FaceDetectionNode(sensor_name)
347 rospy.spin()
348
349if __name__ == '__main__':
350 main()

Callers 1

Calls 2

FaceDetectionNodeClass · 0.85
spinMethod · 0.45

Tested by

no test coverage detected