You seem to have changed the residual_threshold. 1 pixel is in my experience really small. If you increase to 2px we can get rid of the max_trials=300 parameter and just use the defaults.