Thema: Delphi ACamera - winsoft

Einzelnen Beitrag anzeigen

danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#3

AW: ACamera - winsoft

  Alt 6. Mär 2018, 20:11
Thank you,
please write your code.
I use object photography, I do not use QRcode scanning.
I use:
Delphi-Quellcode:
procedure TFormMain.ButtonTakePictureClick(Sender: TObject);
begin
  ACamera.FocusMode := foAuto;
  ACamera.TakePicture;
end;

procedure TFormMain.ACameraPictureTaken(Sender: TObject; Data: TArray<System.Byte>);
begin
  TFile.WriteAllBytes(TPath.Combine(dirImages, edName.Text + '.jpg'), Data);
end;
Daniel
  Mit Zitat antworten Zitat