06-06-2020, Saat: 15:49
(Son Düzenleme: 06-06-2020, Saat: 16:07, Düzenleyen: Fesih ARSLAN.)
procedure TfrmCustomer.Play;
begin
try
if (VideoCamera <> nil) then
begin
if (VideoCamera.State = TCaptureDeviceState.Stopped) then
begin
VideoCamera.OnSampleBufferReady := SampleBufferReady;
VideoCamera.StartCapture;
end
else
begin
//VideoCamera.StopCapture;
end;
end
else
begin
//Video yakalama cihazları kullanılamıyor.
end;
except on E: Exception do
ShowMessage('error : '+E.Message);
end;
end;
procedure TfrmCustomer.SampleBufferReady(Sender: TObject;
const ATime: TMediaTime);
begin
try
TThread.Synchronize(TThread.CurrentThread, SampleBufferSync);
except on E: Exception do
ShowMessage('Webcam BufferReady error : '+E.Message);
end;
end;
procedure TfrmCustomer.SampleBufferSync;
begin
try
VideoCamera.SampleBufferToBitmap(imgPerson.Bitmap, false);
except on E: Exception do
ShowMessage('Webcam BufferSync error : '+E.Message);
end;
end;
(06-06-2020, Saat: 15:47)Fesih ARSLAN Adlı Kullanıcıdan Alıntı:(06-06-2020, Saat: 15:45)GBG Adlı Kullanıcıdan Alıntı: No
How to show different
I do not fully understand the Turkish language you have used.
Maybe we can get along better if you explain in your own language.
I'm sorry
I have said several times here that I am just learning Turkish
Vi Project Management[url=https://useviapp.com][/url]




Yanlış anlamışım 