use the "SetCallBack" mode to realize the SampleStillImage