Generating a strategy for configuration determination: a module of vision algorithm for object localization programs