Skip to content

Commit 0e67105

Browse files
...
1 parent b7b5eb5 commit 0e67105

11 files changed

Lines changed: 21 additions & 82 deletions

main.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ def main():
1010

1111
scripts = {
1212
"1": {
13-
"name": "Run 'gender_age_predictor.py'",
14-
"description": "Predicts gender and age.",
15-
"file_name": "scripts/gender_age_predictor.py"
13+
"name": "Run 'gender_age_detection.py'",
14+
"description": "Detects gender and age.",
15+
"file_name": "scripts/gender_age_detection.py"
1616
},
1717
"2": {
18-
"name": "Run 'gender_predictor.py'",
19-
"description": "Predicts gender.",
20-
"file_name": "scripts/gender_predictor.py"
18+
"name": "Run 'gender_detection.py'",
19+
"description": "Detects gender.",
20+
"file_name": "scripts/gender_detection.py"
2121
},
2222
"3": {
23-
"name": "Run 'gender_age_predictor_webcam.py'",
24-
"description": "Predicts gender from a webcam feed.",
25-
"file_name": "scripts/gender_age_predictor_webcam.py"
23+
"name": "Run 'gender_age_detection_webcam.py'",
24+
"description": "Detects gender from a webcam feed.",
25+
"file_name": "scripts/gender_age_detection_webcam.py"
2626
},
2727
"00": {
2828
"name": "Run 'install_dependencies.py'",

redirect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
import os
33

44
if __name__ == "__main__":
5-
script_path = os.path.join("scripts", "transformer.py")
5+
script_path = os.path.join("scripts", "gender_age_detection.py")
66
subprocess.run(["python", script_path])

requirements.txt

Lines changed: 4 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,4 @@
1-
absl-py==2.4.0
2-
astunparse==1.6.3
3-
beautifulsoup4==4.14.3
4-
blinker==1.9.0
5-
certifi==2026.2.25
6-
charset-normalizer==3.4.7
7-
click==8.3.1
8-
cv==1.0.0
9-
deepface==0.0.99
10-
filelock==3.25.2
11-
fire==0.7.1
12-
Flask==3.1.3
13-
flask-cors==6.0.2
14-
flatbuffers==25.12.19
15-
gast==0.7.0
16-
gdown==5.2.1
17-
google-pasta==0.2.0
18-
grpcio==1.80.0
19-
gunicorn==25.3.0
20-
h5py==3.14.0
21-
idna==3.11
22-
itsdangerous==2.2.0
23-
Jinja2==3.1.6
24-
joblib==1.5.3
25-
keras==3.14.0
26-
libclang==18.1.1
27-
lightdsa==0.0.3
28-
lightecc==0.0.5
29-
lightphe==0.0.21
30-
lz4==4.4.5
31-
markdown-it-py==4.0.0
32-
MarkupSafe==3.0.3
33-
mdurl==0.1.2
34-
ml_dtypes==0.5.4
35-
mpmath==1.3.0
36-
mtcnn==1.0.0
37-
namex==0.1.0
38-
numpy==2.4.4
39-
opencv-python==4.13.0.92
40-
opt_einsum==3.4.0
41-
optree==0.19.0
42-
packaging==26.0
43-
pandas==3.0.2
44-
pillow==12.2.0
45-
protobuf==7.34.1
46-
Pygments==2.20.0
47-
PySocks==1.7.1
48-
python-dateutil==2.9.0.post0
49-
python-dotenv==1.2.2
50-
requests==2.33.1
51-
retina-face==0.0.17
52-
rich==14.3.3
53-
setuptools==82.0.1
54-
six==1.17.0
55-
soupsieve==2.8.3
56-
sympy==1.14.0
57-
tensorflow==2.21.0
58-
termcolor==3.3.0
59-
tf_keras==2.21.0
60-
tqdm==4.67.3
61-
typing_extensions==4.15.0
62-
urllib3==2.6.3
63-
Werkzeug==3.1.8
64-
wheel==0.46.3
65-
wrapt==2.1.2
1+
deepface==0.0.81
2+
opencv-python==4.8.1.78
3+
Pillow==8.3.2
4+
flask==3.0.0

run.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
set "VENV_DIR=psdenv"
3+
set "VENV_DIR=venv"
44

55
rem
66
if not exist "%VENV_DIR%" (

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
VENV_DIR="psdenv"
3+
VENV_DIR="venv"
44

55
# Check if the virtual environment directory exists
66
if [ ! -d "$VENV_DIR" ]; then

run_server.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
set "VENV_DIR=psdenv"
3+
set "VENV_DIR=venv"
44

55
rem
66
if not exist "%VENV_DIR%" (

setup.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
2-
python -m venv psdenv
3-
cmd /k ".\psdenv\Scripts\activate & python main.py"
2+
python -m venv venv
3+
cmd /k ".\venv\Scripts\activate & python main.py"

0 commit comments

Comments
 (0)