{"action":"created","issue":{"url":"https://api.github.com/repos/openalpr/openalpr/issues/293","repository_url":"https://api.github.com/repos/openalpr/openalpr","labels_url":"https://api.github.com/repos/openalpr/openalpr/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/openalpr/openalpr/issues/293/comments","events_url":"https://api.github.com/repos/openalpr/openalpr/issues/293/events","html_url":"https://github.com/openalpr/openalpr/issues/293","id":138193191,"number":293,"title":"Indonesian License Plates","user":{"login":"simplyeazy","id":6694017,"avatar_url":"https://avatars3.githubusercontent.com/u/6694017?v=4","gravatar_id":"","url":"https://api.github.com/users/simplyeazy","html_url":"https://github.com/simplyeazy","followers_url":"https://api.github.com/users/simplyeazy/followers","following_url":"https://api.github.com/users/simplyeazy/following{/other_user}","gists_url":"https://api.github.com/users/simplyeazy/gists{/gist_id}","starred_url":"https://api.github.com/users/simplyeazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simplyeazy/subscriptions","organizations_url":"https://api.github.com/users/simplyeazy/orgs","repos_url":"https://api.github.com/users/simplyeazy/repos","events_url":"https://api.github.com/users/simplyeazy/events{/privacy}","received_events_url":"https://api.github.com/users/simplyeazy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-03T14:30:41Z","updated_at":"2018-04-03T06:25:45Z","closed_at":"2017-06-06T03:13:07Z","author_association":"NONE","body":"Hello Matt\n\nSo I tried to train the OCR in train-ocr repository and the train.py didn't work. I've tried adjusting the tesseract dir path to my tesseract installation directory in ubuntu but still it says missing something like:\nTwo-Letter Country Code to Train: id\nProcessing: ./id/input/lid.indonesiaplatefont.exp0.box\nExecuting: /home/simplyeazy/Downloads/tesseract/tesseract -l eng ./id/input/lid.indonesiaplatefont.exp0.tif lid.indonesiaplatefont.exp0 nobatch box.train.stderr\nsh: 1: /home/simplyeazy/Downloads/tesseract/tesseract: not found\nmv: cannot stat ‘./lid.indonesiaplatefont.exp0.tr’: No such file or directory\nmv: cannot stat ‘./lid.indonesiaplatefont.exp0.txt’: No such file or directory\nsh: 1: /home/simplyeazy/Downloads/tesseract/training/unicharset_extractor: not found\nExecuting: /home/simplyeazy/Downloads/tesseract/training/mftraining -F ./tmp/font_properties -U unicharset -O ./tmp/lid.unicharset ./tmp/*.tr\nI'm pretty new to Linux and tesseract and tried for like 2 weeks and still can't figure out what is wrong with my ocr training process.\n\nAttached below is the TTF of Indonesia License Plate (the O and 0 are switched in the TTF so please use O when writing 0) please help me to get the traineddata. Thank you. \n\n[IndoLicensePlate.zip](https://github.com/openalpr/openalpr/files/156929/IndoLicensePlate.zip)\n\n![indonesian fonts](https://cloud.githubusercontent.com/assets/6694017/13497116/4ffd863c-e186-11e5-955b-c700fab67951.JPG)\n"},"comment":{"url":"https://api.github.com/repos/openalpr/openalpr/issues/comments/378141785","html_url":"https://github.com/openalpr/openalpr/issues/293#issuecomment-378141785","issue_url":"https://api.github.com/repos/openalpr/openalpr/issues/293","id":378141785,"user":{"login":"reza4836","id":17603761,"avatar_url":"https://avatars3.githubusercontent.com/u/17603761?v=4","gravatar_id":"","url":"https://api.github.com/users/reza4836","html_url":"https://github.com/reza4836","followers_url":"https://api.github.com/users/reza4836/followers","following_url":"https://api.github.com/users/reza4836/following{/other_user}","gists_url":"https://api.github.com/users/reza4836/gists{/gist_id}","starred_url":"https://api.github.com/users/reza4836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reza4836/subscriptions","organizations_url":"https://api.github.com/users/reza4836/orgs","repos_url":"https://api.github.com/users/reza4836/repos","events_url":"https://api.github.com/users/reza4836/events{/privacy}","received_events_url":"https://api.github.com/users/reza4836/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T06:25:45Z","updated_at":"2018-04-03T06:25:45Z","author_association":"NONE","body":"Hello @andikaj , thank you for the training results file. By the way, how did you execute the training file (.box and .tif) to be generated as .traineddata file? I'd completely stuck by this error command. I want to train another .tif and .box file.\r\n\r\nTwo-Letter Country Code to Train: id\r\nProcessing: ./id/input/lid.indonesia.exp0.box\r\nExecuting: /media/gspeintercon/GSPE1/GIT/tesseract-4.0.0-beta.1/tessdata -l eng ./id/input/lid.indonesia.exp0.tif lid.indonesia.exp0 nobatch box.train.stderr\r\nsh: 1: /media/gspeintercon/GSPE1/GIT/tesseract-4.0.0-beta.1/tessdata: Permission denied\r\nmv: cannot stat './lid.indonesia.exp0.tr': No such file or directory\r\nmv: cannot stat './lid.indonesia.exp0.txt': No such file or directory\r\nExtracting unicharset from box file ./id/input/lid.indonesia.exp0.box\r\nOther case a of A is not in unicharset\r\nOther case b of B is not in unicharset\r\nOther case c of C is not in unicharset\r\nOther case d of D is not in unicharset\r\nOther case e of E is not in unicharset\r\nOther case f of F is not in unicharset\r\nOther case g of G is not in unicharset\r\nOther case h of H is not in unicharset\r\nOther case i of I is not in unicharset\r\nOther case j of J is not in unicharset\r\nOther case k of K is not in unicharset\r\nOther case l of L is not in unicharset\r\nOther case m of M is not in unicharset\r\nOther case n of N is not in unicharset\r\nOther case o of O is not in unicharset\r\nOther case p of P is not in unicharset\r\nOther case q of Q is not in unicharset\r\nOther case r of R is not in unicharset\r\nOther case s of S is not in unicharset\r\nOther case t of T is not in unicharset\r\nOther case u of U is not in unicharset\r\nOther case v of V is not in unicharset\r\nOther case w of W is not in unicharset\r\nOther case x of X is not in unicharset\r\nOther case y of Y is not in unicharset\r\nOther case z of Z is not in unicharset\r\nWrote unicharset file unicharset\r\nExecuting: /media/gspeintercon/GSPE1/GIT/tesseract-4.0.0-beta.1/training/mftraining -F ./tmp/font_properties -U unicharset -O ./tmp/lid.unicharset ./tmp/*.tr\r\nWarning: No shape table file present: shapetable\r\nReading ./tmp/*.tr ...\r\n\r\nError: Unable to open ./tmp/*.tr!\r\n\"Fatal error encountered!\" == NULL:Error:Assert failed:in file globaloc.cpp, line 75\r\nSegmentation fault (core dumped)\r\nmv: cannot stat './tmp/lid.unicharset': No such file or directory\r\ncp: cannot stat './id/input/unicharambigs': No such file or directory\r\nReading ./tmp/*.tr ...\r\n\r\nError: Unable to open ./tmp/*.tr!\r\n\"Fatal error encountered!\" == NULL:Error:Assert failed:in file globaloc.cpp, line 75\r\nSegmentation fault (core dumped)\r\nmv: cannot stat './shapetable': No such file or directory\r\nmv: cannot stat './pffmtable': No such file or directory\r\nmv: cannot stat './inttemp': No such file or directory\r\nmv: cannot stat './normproto': No such file or directory\r\nCombining tessdata files\r\nError: traineddata file must contain at least (a unicharset fileand inttemp) OR an lstm file.\r\nError combining tessdata files into lid.traineddata\r\nVersion string:4.00.00alpha\r\n23:version:size=12, offset=192\r\nmv: cannot stat './lid.unicharset': No such file or directory\r\nmv: cannot stat './lid.shapetable': No such file or directory\r\nmv: cannot stat './lid.pffmtable': No such file or directory\r\nmv: cannot stat './lid.inttemp': No such file or directory\r\nmv: cannot stat './lid.normproto': No such file or directory\r\nmv: cannot stat './lid.unicharambigs': No such file or directory\r\n\r\nThanks before."}}
{"actor":{"display_login":"reza4836"}}