An Affordance Detection Pipeline for Resource-Constrained Devices