OCR for PDF attachments is part of the main app by now, but there are still some issues with that:
https://discourse.joplinapp.org/t/ocr-search-not-working-on-synced-computers/38167
The good news is that you don't have to add the feature via plugin anymore.