Fixed NPE, added getRegion to features (helper for detectors)
Signed-off-by:Craig Russell <tenowg@gmail.com>