Getting the results
The only thing that you need to worry about is how to get the detection results, ie knowing if NAO detected some naomarks, the location of the detected marks, etc. The ALLandMarkDetection module writes its results in a variable in ALMemory (LandmarkDetected). You can view ALMemory variables by looking at the ALMemory's blue documentation page (at the bottom of the page) or using Telepathe memory viewer.
As you surely want to use the detection results directly in your code, you can check the ALMemory's variable on a regular basis. To do this, just create a proxy to ALMemory, and retrieve the landmark variable using getData("LandmarkDetected") from the ALMemory proxy.
from naoqi import ALProxy IP = "your_robot_ip" PORT = 9559 # Create a proxy to ALMemory. memProxy = ALProxy("ALMemory", IP, PORT) # Get data from landmark detection (assuming face detection has been activated). data = memProxy.getData("LandmarkDetected")