{"action":"created","issue":{"url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/53","labels_url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/53/comments","events_url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/53/events","html_url":"https://github.com/tabulapdf/tabula-java/pull/53","id":122364901,"number":53,"title":"Add table detection tests and a basic table detector for guessing table regions","user":{"login":"mcharters","id":540684,"avatar_url":"https://avatars.githubusercontent.com/u/540684?v=3","gravatar_id":"","url":"https://api.github.com/users/mcharters","html_url":"https://github.com/mcharters","followers_url":"https://api.github.com/users/mcharters/followers","following_url":"https://api.github.com/users/mcharters/following{/other_user}","gists_url":"https://api.github.com/users/mcharters/gists{/gist_id}","starred_url":"https://api.github.com/users/mcharters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcharters/subscriptions","organizations_url":"https://api.github.com/users/mcharters/orgs","repos_url":"https://api.github.com/users/mcharters/repos","events_url":"https://api.github.com/users/mcharters/events{/privacy}","received_events_url":"https://api.github.com/users/mcharters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-15T20:59:27Z","updated_at":"2015-12-21T15:54:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tabulapdf/tabula-java/pulls/53","html_url":"https://github.com/tabulapdf/tabula-java/pull/53","diff_url":"https://github.com/tabulapdf/tabula-java/pull/53.diff","patch_url":"https://github.com/tabulapdf/tabula-java/pull/53.patch"},"body":"The changes on this branch do a bunch of stuff:\r\n- Creates a new \"detectors\" package in tabula for table detection algorithms\r\n- Implements a SpreadsheetDetectionAlgorithm there to replicate the simple table detection from tabula (web) and tabula-extractor\r\n- The command line app now uses the new detector when the -g argument is passed (basic fix for #49)\r\n- Adds ICDAR 2013 ground truth documents for testing purposes (I know there was a new project set up mentioned in #51 but maybe we can migrate the tests over there later?)\r\n- Adds (currently ignored) tests for testing table detection algorithms (2 out of 67 tests currently pass!)\r\n\r\nThis should provide a basis for people to start contributing and evaluating different table detection algorithms"},"comment":{"url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/comments/166338496","html_url":"https://github.com/tabulapdf/tabula-java/pull/53#issuecomment-166338496","issue_url":"https://api.github.com/repos/tabulapdf/tabula-java/issues/53","id":166338496,"user":{"login":"jazzido","id":27584,"avatar_url":"https://avatars.githubusercontent.com/u/27584?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzido","html_url":"https://github.com/jazzido","followers_url":"https://api.github.com/users/jazzido/followers","following_url":"https://api.github.com/users/jazzido/following{/other_user}","gists_url":"https://api.github.com/users/jazzido/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzido/subscriptions","organizations_url":"https://api.github.com/users/jazzido/orgs","repos_url":"https://api.github.com/users/jazzido/repos","events_url":"https://api.github.com/users/jazzido/events{/privacy}","received_events_url":"https://api.github.com/users/jazzido/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T15:54:07Z","updated_at":"2015-12-21T15:54:07Z","body":"Good call. In any case, expecting 0% failures would be unrealistic for the ICDAR dataset, so I guess we should not `assert()` things. Instead, we should emit some kind of report that we can use to track progress/regressions with the detection algorithms."}}