Machine vision for warehouse automation