Magika: AI powered fast and efficient file type identification
11–20 of 262 posts
Re: Magika: AI powered fast and efficient file type identification
#12Re: Magika: AI powered fast and efficient file type identification
#13We have had file(1) for years
RTFA.
Re: Magika: AI powered fast and efficient file type identification
#14We have had file(1) for years
Re: Magika: AI powered fast and efficient file type identification
#15Re: Magika: AI powered fast and efficient file type identification
#16Is it really common enough for files not to be annotated with a useful/correct file type extension (e.g. .mp3, .txt) that a library like this is needed?
Then there are all the container formats that have different kinds of formats embedded in them (mov,mkv,pdf etc.)
Re: Magika: AI powered fast and efficient file type identification
#17Re: Magika: AI powered fast and efficient file type identification
#18Works but occasionally having bugs and weird collisions when working with billions of files.
Happy to see new contributions in the space.
Re: Magika: AI powered fast and efficient file type identification
#19Oh man, this brings me back! Almost 10 years ago I was working on a rails app trying to detect the file type of uploaded spreadsheets (xlsx files were being detected as application/zip, which is technically true but useless). I found "magic" that could detect these and submitted a patch at https://bugs.freedesktop.org/show_bug.cgi?id=78797 . My patch got rejected for needing to look at the first 3KB bytes of the file…
> enabling precise file identification within milliseconds, even when running on a CPU.
Maybe your old-fashioned implementations were detecting in microseconds?
Re: Magika: AI powered fast and efficient file type identification
#20Supported file types: https://github.com/google/magika/blob/main/docs/supported-co...