Community

change the dimensions of camera view in real time

Actually the dimensions of the camera is controlled programmatically by real time recognition sdk. I want to change the dimensions in real time while scanning? Is there any way?

Based on text size i need to change the dimensions of the camera

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Oksana Serdyuk

    You need use the setAreaOfInterest method. It sets the area on the frame where the text is to be found.

    By default, no area of interest is selected. The size of the area of interest affects performance and the speed of convergence of the result. The best result is achieved when the area of interest does not touch the boundaries of the frame but has a margin of at least half the size of a typical printed character.

    Parameters:
    areaOfInterest - the rectangle specifying the area of interest
    0

Please sign in to leave a comment.