LogIm is an application that allows you to get the truth table of a logical expression, or the corresponding logical expression of a given truth table, only by taking a picture of it!
Classical image processing techniques and machine learning were used.
This code runs in JupyterNotebook, so you must have anaconda installed first
conda install pip
pip install opencv-python
pip install truth-table-generator
pip install ipynb
pip install image
pip install customtkinter
Navigate to final_integration.py
Run all cells
Create a new cell containing the code below
## new cell code ##
image = cv2.imread("./image_path") #replace with your image path
solve_expression(image, is_table=bool) #for solving an expression, False for is_table
#for solving a truth table, True for is_table
run the following command in your terminal
python ./table.py
Sarah Elzayat | Ahmed ata abdallah | Nour Ziad Almulhem | fady |
---|