Commit Graph

338 Commits (153869fda27d0dfb800dd03e5c47262bc7a3e8a8)

Author SHA1 Message Date
Vinayak Mehta 153869fda2 Update HISTORY.md and bump version
Update HISTORY.md
2018-12-13 16:46:17 +05:30
Vinayak Mehta f8eaec4ce4
Merge pull request #227 from socialcopsdev/fix-050-bugs
Fix v0.5.0 bugs
2018-12-13 16:29:47 +05:30
Vinayak Mehta d83d5fae42 Fix tests
Fix tests
2018-12-13 16:06:48 +05:30
Vinayak Mehta 69136431b6 Fix #215 2018-12-13 14:36:50 +05:30
Vinayak Mehta ff4d8ce228 Add test for arabic 2018-12-13 13:13:07 +05:30
Vinayak Mehta 5e71f0b0e6 Fix #192 2018-12-13 12:50:30 +05:30
Vinayak Mehta 33cea45346 Fix #105 2018-12-13 00:45:22 +05:30
Vinayak Mehta 40217bea46
Merge pull request #225 from socialcopsdev/fix-204
[MRG] Change suppress_warnings to suppress_stdout
2018-12-12 10:34:08 +05:30
Vinayak Mehta 591cfd5291 Change kwarg name 2018-12-12 10:15:04 +05:30
Vinayak Mehta de0079a711 Update HISTORY.md 2018-12-12 09:59:22 +05:30
Vinayak Mehta e50f9c8847 Change suppress_warnings to verbose 2018-12-12 09:58:34 +05:30
Vinayak Mehta 50780e24f8
Merge pull request #224 from socialcopsdev/fix-207
[MRG] Add plot types and update docs
2018-12-12 08:53:58 +05:30
Vinayak Mehta 92e02fa03d Update HISTORY.md 2018-12-12 08:26:59 +05:30
Vinayak Mehta 656c4e09bc Update docs 2018-12-12 08:18:49 +05:30
Vinayak Mehta b56d2246ad Add new plot type tests 2018-12-12 08:09:52 +05:30
Vinayak Mehta 87a2f4fdc9 Add textedge plot type 2018-12-12 07:36:07 +05:30
Vinayak Mehta 451fac9e53 Add updated stream benchmark 2018-12-11 21:28:42 +05:30
Vinayak Mehta 649fd67c44 Rename file 2018-12-11 21:17:50 +05:30
Vinayak Mehta e45e7478bf Add updated stream benchmark 2018-12-11 21:16:16 +05:30
Vinayak Mehta d6ffe0f1a9 Add pdfplumber benchmark 2018-12-11 20:34:43 +05:30
Vinayak Mehta 423e5f8aad
Merge pull request #221 from socialcopsdev/fix-217
[MRG] Fix variable name
2018-12-07 20:51:13 +05:30
Vinayak Mehta 619ce2e2a4 Fix grid plot baseline image 2018-12-07 20:22:56 +05:30
Vinayak Mehta 8d8ca6e435 Fix variable name 2018-12-07 18:45:23 +05:30
Vinayak Mehta 1f0a1c0c68
Merge pull request #218 from socialcopsdev/add-chardet
Add chardet to install_requires
2018-12-05 21:00:22 +05:30
Vinayak Mehta cb3e76726b Bump version 2018-12-05 20:10:25 +05:30
Vinayak Mehta 2635f910e4 Add chardet to install_requires 2018-12-05 20:08:37 +05:30
Vinayak Mehta 7bdd9a3156 Update docs 2018-12-01 06:29:35 +05:30
Vinayak Mehta 6df88f90fb Update HISTORY.md 2018-11-23 21:39:42 +05:30
Vinayak Mehta e4af252280 Update HISTORY.md 2018-11-23 21:37:40 +05:30
Vinayak Mehta e7835cac33
Merge pull request #206 from socialcopsdev/stream-nurminen-detection
[MRG] Add implementation of Anssi Nurminen's table detection algorithm
2018-11-23 21:35:03 +05:30
Vinayak Mehta 23ec6b55f7 Add docstrings and update docs 2018-11-23 21:04:10 +05:30
Vinayak Mehta 1f71513004 Fix no table found warning and add tests for two tables 2018-11-23 19:28:55 +05:30
Vinayak Mehta bf894116d2 Update test data 2018-11-23 04:25:04 +05:30
Vinayak Mehta 0251422e33 Add fix to include table headers 2018-11-23 03:27:23 +05:30
Vinayak Mehta a1e1fd781d Fix comments 2018-11-23 02:51:22 +05:30
Vinayak Mehta 9b67b271e4 Add atol and fix variable declaration 2018-11-23 02:44:55 +05:30
Vinayak Mehta 9b5782f9ba Fix indent 2018-11-22 20:05:30 +05:30
Vinayak Mehta bcde67fe17 Add constant to include table headers 2018-11-22 19:56:16 +05:30
Vinayak Mehta 529914eb6f Update comment 2018-11-22 19:50:59 +05:30
Vinayak Mehta 4e2aee18c3 Add get_table_areas textedges method 2018-11-22 19:48:51 +05:30
Vinayak Mehta a587ea3782 Add get_relevant textedges method 2018-11-22 18:24:31 +05:30
Vinayak Mehta 378408a271 Remove debug statements 2018-11-22 05:42:10 +05:30
Vinayak Mehta 123227aa8c Add TextEdge and TextEdges helper classes 2018-11-22 05:31:02 +05:30
Vinayak Mehta cd3aa38f7e
Change table to grid (#196) 2018-11-06 19:18:45 +05:30
Vinayak Mehta b310f16dba Bump version and update HISTORY.md 2018-11-04 01:37:27 +05:30
Vinayak Mehta defaead679
Add table bbox attribute (#193) 2018-11-04 01:33:41 +05:30
Palash Chatterjee a60ce38d4d [MRG + 1] Fix the order of coordinates in docs (#191) 2018-11-03 01:06:44 +05:30
Vinayak Mehta 36006cadc5 Bump version and update HISTORY.md 2018-11-02 23:25:07 +05:30
Vinayak Mehta db3f8c6897
[MRG] Make matplotlib optional (#190)
* Rename png files

* Convert plot to PlotMethods class and update docs

* Update test

* Update setup.py and docs

* Refactor PlotMethods

* Make matplotlib optional

* Raise ImportError in cli
2018-11-02 23:16:03 +05:30
Suyash Behera c0e9235164 [MRG + 1] Create a new figure and test each plot type #127 (#179)
* [MRG] Create a new figure and test each plot type #127

 - move `plot()` to `plotting.py` as `plot_pdf()`
 - modify plotting functions to return matplotlib figures
 - add `test_plotting.py` and baseline images
 - import `plot_pdf()` in `__init__`
 - update `cli.py` to use `plot_pdf()`
 - update advanced usage docs to reflect changes

* Change matplotlib backend for image comparison tests

* Update plotting and tests
 - use matplotlib rectangle instead of `cv2.rectangle` in
`plot_contour()`
 - set matplotlib backend in `tests/__init__`
 - update contour plot baseline image
 - update `test_plotting` with more checks

* Update plot tests and config
 - remove unnecessary asserts
 - update setup.cfg and makefile with `--mpl`

* Add  to

* Add tolerance

* remove text from baseline plots
update plot tests with `remove_text`

* Change method name, update docs and add pep8

* Update docs
2018-11-02 20:57:02 +05:30