limit the shooting area

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
labchara
Posts: 5
Joined: Mon Apr 12, 2021 12:35 pm

limit the shooting area

Post 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
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: limit the shooting area

Post 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?
labchara
Posts: 5
Joined: Mon Apr 12, 2021 12:35 pm

Re: limit the shooting area

Post by labchara »

yes exactely
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: limit the shooting area

Post 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.
Post Reply