Page 1 of 1

limit the shooting area

Posted: Wed Apr 21, 2021 6:20 pm
by labchara
Hello
Can I limit the shooting area to a specific area, such as a window or a door, while ignoring what is outside. In addition to this, you need to know more about it.
Thanks

Re: limit the shooting area

Posted: Thu Apr 22, 2021 8:43 am
by Sergey Tkachenko
Sorry, I do not understand your question. Do you want to display (or process) only a part of video frame at the specified coordinates?

Re: limit the shooting area

Posted: Thu Apr 22, 2021 2:21 pm
by labchara
yes exactely

Re: limit the shooting area

Posted: Fri Apr 23, 2021 10:10 am
by Sergey Tkachenko
This is not a built-in feature.
However, you can use events when you can modify the frame or draw your image instead of a frame.
The events are:
- TRVCamera.OnGetImage (see the example of its using in the demos Cameras\MotionDetect and MotionDetect_Old)
- TRVCamView.OnPaint (see the example of its using in the demos Cameras\Filters and MotionDetect_Old)

All the demos above do not modify a frame size but modify their content. But I believe there must be no problems with cropping.