Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 16 16:34
    Artyrm labeled #303
  • May 16 16:34
    Artyrm opened #303
  • May 15 20:05
    Artyrm opened #302
  • May 11 15:07
    treflip commented #286
  • May 11 14:51
    SteffRainville commented #157
  • May 10 10:40
    hammad26 edited #301
  • May 10 10:40
    hammad26 edited #301
  • May 10 10:39
    hammad26 opened #301
  • May 09 08:13
    giiyms commented #157
  • May 06 08:16
    maxdd commented #237
  • May 06 08:15
    maxdd commented #237
  • May 05 00:17
    teohsinyee opened #300
  • May 04 07:05
    kenho211 commented #299
  • May 04 07:04
    kenho211 commented #299
  • May 02 03:50
    pratheesh-prakash edited #299
  • May 02 03:49
    pratheesh-prakash labeled #299
  • May 02 03:49
    pratheesh-prakash opened #299
  • Apr 29 09:05
    karlowich commented #298
  • Apr 29 09:04
    karlowich commented #298
  • Apr 29 09:03
    karlowich closed #298
Vinayak Mehta
@vortex_ape_twitter
I'm fixing it today.
Vinayak Mehta
@vortex_ape_twitter
I've fixed the failing tests. Travis now runs on https://github.com/camelot-dev/camelot. We can continue development on there.
Dimiter Naydenov
@dimitern
Awesome! I've some PRs to propose :)
Vinayak Mehta
@vinayak-mehta
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:
Pravar Agrawal
@pravarag
@vinayak-mehta sure. Thanks :)
Pravar Agrawal
@pravarag
@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
  1. Calculate table coordinates (which include cell coordinates)
  2. Get list of text boxes from PDF
  3. 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.
Pravar Agrawal
@pravarag
@vinayak-mehta trying to put a try on this line: https://github.com/camelot-dev/camelot/blob/master/camelot/parsers/stream.py#L98 . Once this has been handled, I've put "text_bbox" after the except as of now and that is where I'm getting above mentioned error.
Pravar Agrawal
@pravarag
@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.
Vinayak Mehta
@vinayak-mehta
Hi @arky did you try the existing Win and Linux (should work on macOS) executables? https://github.com/camelot-dev/excalibur/releases/tag/v0.4.0
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.