1. 03 Dec, 2018 1 commit
  2. 29 Nov, 2018 2 commits
  3. 25 Nov, 2018 3 commits
  4. 09 Nov, 2018 3 commits
  5. 12 Oct, 2018 2 commits
    • Bastien Nocera's avatar
      lib: Fix crash when too many minutiae were detected · 3a7b03f0
      Bastien Nocera authored
      struct xyt_struct uses a fixed-sized array to fit MAX_BOZORTH_MINUTIAE (200)
      minutiae. MAX_FILE_MINUTIAE is 1000. So if we detected more than
      MAX_BOZORTH_MINUTIAE, we would crash copying the data from the capture
      to the structure.
      
      We might want to use dynamically allocated arrays in the future (or
      bigger ones) so that we don't lose minutiae.
      
      Closes: #116
      3a7b03f0
    • Bastien Nocera's avatar
      lib: Fix fpi_img_is_sane() · 94450a1d
      Bastien Nocera authored
      The checks weren't:
      - checking whether the width or height were negative
      - whether img->width * img->height would overflow, or
        was bigger than G_MAXINT
      - whether img->width * img->height was bigger than the total
        length of the buffer
      
      The last one looks like a thinko, it checked for:
      (img->length * img->height) < img->length
      which is equivalent to:
      img->height < 1
      which we already check for earlier.
      
      Closes: #85
      94450a1d
  6. 08 Oct, 2018 1 commit
  7. 28 Sep, 2018 1 commit
  8. 14 Sep, 2018 5 commits
  9. 04 Sep, 2018 1 commit
  10. 24 Aug, 2018 1 commit
  11. 29 May, 2018 1 commit
  12. 25 May, 2018 1 commit
  13. 23 May, 2018 1 commit
  14. 17 May, 2018 1 commit
  15. 06 Nov, 2016 1 commit
  16. 16 Dec, 2015 1 commit
  17. 19 Aug, 2013 1 commit
  18. 26 Jun, 2013 1 commit
  19. 06 Nov, 2012 1 commit
  20. 16 Feb, 2008 1 commit
  21. 27 Dec, 2007 1 commit
    • Daniel Drake's avatar
      Compiler flags update · 659d8346
      Daniel Drake authored
      Dropped -Wextra as it is not that useful.
      Set compiler flags to be more like the kernel's.
      Set std=gnu99
      Fixed some warnings.
      659d8346
  22. 21 Nov, 2007 1 commit
  23. 19 Nov, 2007 1 commit
  24. 17 Nov, 2007 1 commit
    • Daniel Drake's avatar
      Rework some image handling; add public binarization API · ba24c088
      Daniel Drake authored
      I want to offer the ability for an application to view a binarized
      version of a scanned print. This lead onto a few changes:
      
       1. Store minutiae and binarized data inside fp_img
       2. Move resize code to the capture path, it previously happened much
          later.
       3. Add fp_img_binarize() to return a new image in binarized form.
       4. Add a BINARIZED_FORM flag to prevent an image being binarized again.
      
      In future, it would be nice to be able to binarize without detecting
      minutiae, but this involves some work on the NBIS interaction.
      ba24c088
  25. 16 Nov, 2007 1 commit
    • Daniel Drake's avatar
      Use older ImageMagick API · bfc55c4f
      Daniel Drake authored
      Debian ship an ImageMagick that is more than 2 years old. Switch to using
      older APIs so that we have compatibility all-round.
      bfc55c4f
  26. 15 Nov, 2007 1 commit
    • Daniel Drake's avatar
      Return images through enroll/verify path · 5485f803
      Daniel Drake authored
      Added new API functions to obtain images, even when scans are bad, perhaps
      a useful way to show the user just how good/bad the scan actually was.
      
      Drivers and examples updated accordingly.
      5485f803
  27. 12 Nov, 2007 1 commit
    • Daniel Drake's avatar
      Custom image resizing · e3451158
      Daniel Drake authored
      mindtct appears to completely ignore the pixels-per-mm input parameter
      (ippmm). When processing AES4000 images, the binarized image is
      completely mangled and a lot of ridge information is lost.
      
      Resizing the AES4000's small images results in a huge imaging performance
      gain.
      
      We use imagemagick for the resizing, as it's resizing code resamples the
      image too (smoothing it out), which further improves performance.
      e3451158
  28. 04 Nov, 2007 1 commit
  29. 28 Oct, 2007 2 commits
    • Daniel Drake's avatar
      Improve print_data structure and on-disk format · 294f9ad4
      Daniel Drake authored
      Drivers now have an ID number. These will be assigned by me and documented
      on the wiki. 0 cannot be used.
      
      Drivers now define a devtype for each device they initialise. This is to
      cope with the situation where a driver can support varying devices where
      their print data is incompatible (i.e. image scaling is totally changed).
      This doesn't apply to any existing supported devices.
      
      Print data no longer includes driver name, and includes driver ID instead.
      
      Paths to saved print data now include driver ID and devtype, and no longer
      include driver name.
      
      APIs exposed for converting a print_data into a blob which can then
      be loaded back again later. Useful for systems who don't want to use
      my simple storage system (which is only aimed at a single user).
      
      File format is now defined and will be documented on the wiki. The header
      is larger as we can no longer rely on directory paths in all scenarios.
      
      Print data compat check now checks devtype and driver ID.
      294f9ad4
    • Daniel Drake's avatar
      Add bozorth3 from NBIS; implement verify for image devices · 6b8d17ef
      Daniel Drake authored
      uru4000 works splendiferously (YAY!)
      aes4000 is going to need some work though :(
      6b8d17ef