In python, tabula-py can be used to extract tables from a pdf file. Is there a way to do the same within a flutter app?
Asked
Active
Viewed 565 times
2
-
If your Flutter app is going to run only on Android devices then include tabula-java in your Android project and access the library through method channel. This can be one of the solutions. If you find anything better than this then please comment. – Kalpesh Kundanani Dec 30 '19 at 04:04
-
@KalpeshKundanani I tried importing tabula-java in android, but seems like it needs awt, which is not found in the android jvm – user730376 Jul 27 '20 at 12:55
1 Answers
0
I am looking at the same problem for one of my side projects. The solution I plan is - to have a backend API developed with python + Django REST / gRPC, upload the file from flutter app into the backend, read tables in backend using tabula and return needed information back to flutter app through API. I feel this will be more cleaner. Let me know if you find any other shortcut as well :-).

Sathish Ramani
- 893
- 6
- 10