Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
If I set the WebcamSubscriber.width = 100 shouldn`t the .height default to 4:3 ratio of my cam and not to a 100x100 square?
No, width and height directly change the visual object's dimensions.
If you want to preserve the aspect ratio you will need to calculated from the initial value of width and height (it could be different than 4/3).
well I only set WebcamSubscriber.width = 100 and I got a 100x100 square.
Views
Likes
Replies