dilippuri / PAN-Card-OCR

Retrive meaningful information from PAN Card image using tesseract-ocr :sunglasses:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

box module

shantanuo opened this issue · comments

I am not able to install box module. So this line failed...
from box import BoxLine, load_box_file

Can you let me know from where to get that module?

Why do you want to use box module??

help regarding PAN database

Pls install box module in the following way,

if you have pip already installed then go for:
sudo pip install boxsdk
then to import any module from boxsdk you can use - "from boxsdk import <module_required>"

else:
first install pip using "sudo apt-get install python-pip"

Please tell me, even after pip installing boxsdk not able to import BoxLine, load_box_file.
does box and boxsdk are different?

We can download "box.py" from github. Put in our project directory. And use this way:-
"from src.box import BoxLine, load_box_file".

"We can download "box.py" from github." There are 100s of box.py on github. I cannot find any box.py in this repo. It would be great help if you could share the repo name of "box.py" you are referring. There is no box.py in "src" directory.

I have added the box.py file into the repo.
@dilippuri Please review my changes and merge them