add binding in setup_config for detection
Merge pull request #40 from caok/master

add binding in setup_config for detection