Text this: Feature detection using relative distance and multi-scale technique