Skip to content

Universal camera shape#13

Open
andrei399 wants to merge 1 commit into
Rassibassi:mainfrom
andrei399:patch-1
Open

Universal camera shape#13
andrei399 wants to merge 1 commit into
Rassibassi:mainfrom
andrei399:patch-1

Conversation

@andrei399

Copy link
Copy Markdown

Automatically grabbing camera shape instead of it being hard-coded in.

Automatically grabbing camera shape instead of it being hard-coded in.
Comment thread head_posture.py
cap = cv2.VideoCapture(0)
_, frame = cap.read()
frame_height, frame_width, channels = frame.shape
del cap, frame

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants