extract photos machinery