extractDetectedObjects - What is the primary function of the extractDetectedObjects action?