added pdfs to gitignore
changed threshold and red to black detector