How to resize camera view in the screen ?

Options

There are portrait lenses available, which resize your camera view into a smaller portion of the screen. I also want to do the same but don't have much experience around it.
My goal is to apply portrait background segmentation and display the segmented camera view in a smaller portion of the screen.

Answers