interface for feature extract.