I'm sorting a lot of PDFs files(most of them are academic papers) and am looking for a software which can atuomatically detect and extract titles, authors, and refrences. Is there any software or library like this?
Mendeley is specifically designed for this sort of work that you are doing with online & desktop clients.
If the titles, authors, references contain any strings that indicate what they are, you might be able to use the pdf2text library, which simply extracts all strings from PDF files.
I am using All My Books program for managing my e-books including e-books in PDF format. May be this program can help you. However, it does not analyzing the contents, it extracts meta-data (title, author) automatically if it is available. Also, it uses the first page of the document as a cover thumbnail. Use menu item "Book - Scan drive for books..." to find your PDF files and add them in a batch mode. After that, you you can browse the documents either by cover thumbnails or by title list. You can sort by any field if they are not empty.