Page 1 of 1

Flip or Mirror View of Webcam

Posted: Thu Jun 17, 2021 8:54 pm
by JYLSoft
How to display the webcam in "ImageViewer" with a Mirror view?

Thank you

Re: Flip or Mirror View of Webcam

Posted: Fri Jun 18, 2021 10:18 am
by Alex
Hello,

Please do the following test:
  • Run VintaSoft Imaging Demo ("[SdkInstallPath]\VintaSoft\Imaging .NET v10.0\Bin\DotNet4\AnyCPU\ImagingDemo.exe").
  • Click "Capture from camera..." button in toolbar, the image capturing dialog will appear, change settings in "Captured image processing" group - this will apply image processing to the captured images, click "Capture image" button and see the result.
  • See source codes of WebcamPreviewForm class in the "[SdkInstallPath]\VintaSoft\Imaging .NET v10.1\Examples\WinForms\CSharp\ImagingDemo\DemosCommonCode.Imaging\Webcam\WebcamPreviewForm.cs" file.
Let me know if you will have any question or problem.

Best regards, Alexander

Re: Flip or Mirror View of Webcam

Posted: Fri Jun 18, 2021 4:40 pm
by JYLSoft
Hello,
I misspoke.
I would like to display the video from the camera (Webcam) in "Flip x" in real time, before taking a capture.
Is it possible ?

Re: Flip or Mirror View of Webcam

Posted: Tue Jun 22, 2021 10:47 am
by Alex
Hello,
I misspoke.
I would like to display the video from the camera (Webcam) in "Flip x" in real time, before taking a capture.
Is it possible ?
Yes, this is possible.

Please do the following test:
  • Run VintaSoft Imaging Demo ("[SdkInstallPath]\VintaSoft\Imaging .NET v10.0\Bin\DotNet4\AnyCPU\ImagingDemo.exe").
  • Click "Capture from camera..." button in toolbar, the image capturing dialog will appear, change settings in "Captured image processing" group - this will apply image processing to the preview and captured images, see the result in video preview.
  • See source codes of WebcamPreviewForm class in the "[SdkInstallPath]\VintaSoft\Imaging .NET v10.1\Examples\WinForms\CSharp\ImagingDemo\DemosCommonCode.Imaging\Webcam\WebcamPreviewForm.cs" file.
Let me know if you will have any question or problem.

Best regards, Alexander

Re: Flip or Mirror View of Webcam

Posted: Thu Jun 24, 2021 11:09 am
by JYLSoft
Hello,

Yes, I saw "RotateCommand", but that's not what I want to do.

I want a "Flip X" or Camera Mirror function.

I cannot display the webcam with a mirror image.
I can't find this function, we can do it once the image has been captured, but I can't find how to do it on the webcam monitor.

Do you have an example that explains how to do this?

Thank you

Re: Flip or Mirror View of Webcam

Posted: Thu Jun 24, 2021 12:21 pm
by Alex
Hello,

Are you a .NET developer? If yes, please modify source code and use the Vintasoft.Imaging.ImageProcessing.Transforms.FlipCommand class instead of Vintasoft.Imaging.ImageProcessing.Transforms.RotateCommand class.

Best regards, Alexander

Re: Flip or Mirror View of Webcam

Posted: Fri Jun 25, 2021 2:20 pm
by JYLSoft
thank you,
I had not seen this command!
Sorry for your time ...