From 11591f8a5fd7a0d28f0dbc226a6a7ba5dbc1c6e1 Mon Sep 17 00:00:00 2001 From: ferid333 <135500346+ferid333@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:13:26 +0400 Subject: [PATCH 1/3] Create requirements.txt --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3327131 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +keras==2.12.0 +tensorflow==2.13.0 +pillow==9.4.0 From 28c6e75ea1d585903ee74227b45ff3f009f7b7d7 Mon Sep 17 00:00:00 2001 From: ferid333 <135500346+ferid333@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:14:52 +0400 Subject: [PATCH 2/3] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dc14e33..344dccd 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,8 @@ A simple Python program using artificial intelligence libraries to recognize num To use this code, you'll need to install [Python](https://www.python.org/downloads/) and several libraries. You can install them using `pip` command: -```pip install numpy -pip install Image -pip install os -pip install keras -pip install tensorflow +``` +pip install -r requirements.txt ``` >**Note:** Use cmd in administrator mode for installation @@ -20,4 +17,4 @@ pip install tensorflow Just open `AI.py` from AI folder. ->**Note:** You can add your .png images to `img` folder \ No newline at end of file +>**Note:** You can add your .png images to `img` folder From 067fdf94fa032841735d95f25032de6523136aa2 Mon Sep 17 00:00:00 2001 From: ferid333 <135500346+ferid333@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:15:11 +0400 Subject: [PATCH 3/3] Update requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 3327131..b70dcb7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +numpy keras==2.12.0 tensorflow==2.13.0 pillow==9.4.0