Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale classifiers (to ensure that classifiers work on images different sizes to training data) #21

Open
jakewilliami opened this issue Aug 31, 2020 · 1 comment
Labels
enhancement New feature or request help-wanted

Comments

@jakewilliami
Copy link
Owner

No description provided.

@jakewilliami jakewilliami added bug Something isn't working enhancement New feature or request labels Aug 31, 2020
@jakewilliami
Copy link
Owner Author

I have added

FaceDetection.notifyUser("Loading test faces...")
      
      facesTesting = FaceDetection.loadImages(posTestingPath)
      # facesIITesting = map(FaceDetection.toIntegralImage, facesTesting)
      facesIITesting = map(i -> imresize(i, (19,19)), map(FaceDetection.toIntegralImage, facesTesting))
      println("...done. ", length(facesTesting), " faces loaded.")
      
      FaceDetection.notifyUser("Loading test non-faces..")
      
      nonFacesTesting = FaceDetection.loadImages(negTestingPath)
      nonFacesIITesting = map(i -> imresize(i, (19,19)), map(FaceDetection.toIntegralImage, nonFacesTesting))
      println("...done. ", length(nonFacesTesting), " non-faces loaded.\n")

but is this enough? Instead of resizing the images, it would be ideal to resize the classifiers.

@jakewilliami jakewilliami self-assigned this Sep 10, 2020
@jakewilliami jakewilliami changed the title Resize images to standardize (to ensure that classifiers work on images different sizes to training data) Scale classifiers (to ensure that classifiers work on images different sizes to training data) Oct 6, 2020
@jakewilliami jakewilliami removed the bug Something isn't working label Oct 27, 2020
@jakewilliami jakewilliami removed their assignment Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help-wanted
Projects
None yet
Development

No branches or pull requests

1 participant