Skip to content

Commit

Permalink
Merge pull request #1225 from serengil/feat-task-3004-resolving-issues
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
serengil authored May 1, 2024
2 parents 37de8f3 + 9b11fec commit 15deef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deepface/modules/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def represent(
img_objs = [
{
"face": img,
"facial_area": {"x": 0, "y": 0, "w": img.shape[1], "h": img.shape[2]},
"facial_area": {"x": 0, "y": 0, "w": img.shape[0], "h": img.shape[1]},
"confidence": 0,
}
]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
"console_scripts": ["deepface = deepface.DeepFace:cli"],
},
python_requires=">=3.7",
license="MIT",
install_requires=requirements,
)

0 comments on commit 15deef6

Please sign in to comment.