Camelot v0.7.3 released. This is a bugfix release.
Abhi0495
@Abhi0495
hi Vinayak so i am having an issue in reading tables an exception is appearing "OSError: exception: access violation writing 0x16F3B7B0" could please suggest how to resolve this
Attila Skalina
@Synzzz
Hi, by any chance did anyone create a java wrapper for camelot?
Attila Skalina
@Synzzz
Also what's the situation with ghostscript having a paid commercial license but camelot itself having MIT license?
Éléonore
@Eleonore9
Hello! I'm failing to extract a PDF table using Excalibur and would love to have a sample data, like a simple PDF that should work for sure.
Éléonore
@Eleonore9
@Eleonore9 I've selected a table and I'm stuck on a 'Refresh' page like camelot-dev/excalibur#69
Attila Skalina
@Synzzz
did you refresh? how much time did you wait?
Pravar Agrawal
@pravarag
@vinayak-mehta is there any way I can point my virtual environment to my local camelot in order to test local changes?
Vinayak Mehta
@vinayak-mehta
@pravarag You can create a new virtual env altogether and then install Camelot in editable mode.
@pravarag These are some of the easy open issues that you could pick up:
@vinayak-mehta is pip install camelot-py[dev] same for editable mode?
nightwarrior-xxx
@nightwarrior-xxx
@vinayak-mehta Can you explain again how does camelot calculate the accuracy? Correct me if I am wrong. Firstly coordinates of pdf tables is calculated then coordinates of each cell is calculated and from each cell after combining we again get the whole tables and from that we calculate the coordinates.
Pravar Agrawal
@pravarag
@vinayak-mehta I was able to run camelot-py with changes to stream.py in reference to following issue: camelot-dev/camelot#88 . Now, while trying to handle exception for no text present in either (xmin, ymin, xmax, ymax) I'm wondering where to have text_bbox defined? Otherwise I'm greeted with (xmin, ymin, xmax, ymax) variable referenced before assignment error. Any suggestions?
Vinayak Mehta
@vinayak-mehta
@vinayak-mehta is pip install camelot-py[dev] same for editable mode?
pip install -e . for editable mode
@nightwarrior-xxx
Calculate table coordinates (which include cell coordinates)
Get list of text boxes from PDF
Assign text box one by one checking overlap with a table cell. More the overlap, better the accuracy.
Vinayak Mehta
@vinayak-mehta
@pravarag Not sure about your questions. Can you point me to the line where you're trying to do this? A simple try..except should do the trick.
@vinayak-mehta I've submitted a PR for the same, kindly review and let me know for any changes.
Vinayak Mehta
@vinayak-mehta
I'll check it out today! :)
Pravar Agrawal
@pravarag
Sure
Pravar Agrawal
@pravarag
@vinayak-mehta could you please review my pull request so that I can make further changes if required.
_
Vinayak Mehta
@vinayak-mehta
Yep I'll check it out today
Vinayak Mehta
@vinayak-mehta
@pravarag This weekend for sure, sorry for the lateness.
Pravar Agrawal
@pravarag
no problem @vinayak-mehta even I'm enjoying festival season :D
Pravar Agrawal
@pravarag
@vinayak-mehta did you check the PR?
abhishekasodaria
@abhishekasodaria
hello
i am trying to install camelot
but showing
cv version
has no matching distribution
@vortex_ape_twitter
abhishekasodaria
@abhishekasodaria
its not working properly
every step somekind of error occurs
Vinayak Mehta
@vinayak-mehta
@pravarag Yes, got busy with something else
@abhishekasodaria Did you follow the steps mentioned in the docs?
Vinayak Mehta
@vinayak-mehta
@pravarag Reviewed the PR, requested some changes. Sorry for the late review on this.
Pravar Agrawal
@pravarag
@vinayak-mehta thanks for the update. I'll go for the requested changes then.
phdkiran
@phdkiran
is there an option to complement strip_text like replace_text?
I am trying to insert a space for a new line during the table detection
Mariano Rodriguez
@marianorodriguez
hello! Can someone explain to me the difference between pip install camelot-pyand pip install camelot-py[cv]? which of those should I install to use Camelot inside a Python script?
Vinayak Mehta
@vinayak-mehta
@phdkiran You can do that in the pandas dataframe itself
@marianorodriguez Please use pip install camelot-py[cv]
Arky
@arky
@vinayak-mehta Trying to adopt excalibur for my workshops in SE. Asia. Is it possible to build executables for easy install for Windows, Mac, Linux both 32bit and 64bit. Perhaps using Pyinstaller or something similar. This would save me lot of time and also drive adoption.
Ghostscript still needs to be installed separately for these
Arky
@arky
@vinayak-mehta Sweet I wasn't aware there were already available. I am going to give them a shot.
Vinayak Mehta
@vinayak-mehta
Please let me know if you face any problems. And if you have any ideas for the following issues, please comment. Solving these issues will make installation easy. I haven't been getting time from the day job to work on them.