Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TfgBarcodeScanner

  1. I am trying to take a photo of a barcode, and use the barcode scanner to read the barcode on that photo. however, it can't detect anything. This is what I tried: Attempt 1: procedure TFormMain.fgFormCreate(Sender: TObject); var Factory: IFGXBarcodeScannerFactoryService; begin if TfgPlatformServicesManager.RequestService(IFGXBarcodeScannerFactoryService, Factory) then begin FBarcodeScanner := Factory.CreateBarcodeScanner; FBarcodeScanner.Formats := AllBarcodeFormats; FBarcodeScanner.OnDetected := barcodescannerDetected; end else FBarcodeScanner := nil; FBitmapPath := ''; lError.Visible := True; Camera.RequestPermission; end; procedur…

  2. Здравствуйте D11.3 FGX 1.18.1.3 , Huawei P40 pro (ELS-NX9) EMUI 12.0.0 Вопрос в сабже. Попробовал стандартный пример по чтению qr кодов на Huawei P20, Samsung A71, Honor x9b - везде работает. Влияет ли отсутствие гугл-сервисов на сканер ? P.S. При этом сторонние программы для чтения QR прекрасно на нем работают

  3. I am using TfgCamera and TfgBarCode to capture barcodes, however I would like to have focus, that is, only if the product actually goes through TfgCameraPreview to capture it. Is there any way to limit the camera's field of view to only pick up the code if it is very close to the central square? Currently, just getting close is already captured, but this cannot be the case as there are several products on the shelf and there may be problems capturing a specific item. You can see in the video that the barcode does not appear in the preview and is already read. Screenrecorder-2023-10-16-15-05-34-757.mp4

  4. На mi9 детекция срабатывает дважды, на zte один раз как и должно быть. Видимо mi быстрее и успевает дважды распознать штрихкод. Вопрос решился светофором.

  5. Добрый вечер, еще раз спасибо за то что компонент теперь отдает форматы определяемых кодов. Хотелось бы спросить, возможно ли получить: 1. Bitmap с камеры в момент детекта штрихкода с координатами определяемых штрихкодов. Объясню причину вопроса: Bitmap нужен еще и для того - дело в том, что в последнее время очень много DataMatrix кодов печатают в виде белого кода на черном фоне, наш сканер не умеет инвертировать их, вот и хотелось бы получить Bitmap для инвертации с последующим детектом кода как из фото. Спасибо.

  6. Добрый вечер. Не смог найти свойства по которому можно определить к какому формату относится определяемый/сканируемый QR или Bar код (EAN13, EAN8, UPCA, UPCE, Code39, Code93, Code128, ITF, Codabar, QRCode, DataMatrix, PDF417, AZTEC). Не подскажите как можно посмотреть?

  7. Hello, I am trying to read the qr code from the image by using a way like this code. but it doesn't seem to work. is there any other way? procedure TFormMain.btnTakePhotoFromLibraryTap(Sender: TObject); var ImgQr: TfgBitmap; ABarcodes: TArray<FGX.Scanner.Barcode.TfgBarcode>; begin ImgQr := TfgBitmap.Create; try TfgPickerPhotoFactory.PickPhotoFromLibrary(btnTakePhotoFromLibrary, procedure(const AFileName: TFileName) begin ImgQr.LoadFromFile(AFileName); end); fgBarcodeScanner1.Active := True; fgBarcodeScanner1.Detect(ImgQr, ABarcodes); var qrdata : string; for var i := 0 to Length(ABarcodes) - 1 do qrdata := ABarco…

  8. Есть приложение с использованием компонента fgBarcodeScanner, на новом телефоне не хочет сканировать, при открытии камеры выдает сообщение "Barcode detector has not downloaded yet". Телефон Самсунг А01. Кто сталкивался, не подскажете как решить проблему? P.S. В названии темы допустил ошибку, нужно читать detector!

  9. Доброго времени суток. есть ШК (приложил файлом) Сканируя через TfgCamera + TfgBarcodeScaner получаю результат. Какие-то левые символы вначале Сканируя через ZXing Barcode Scanner все в порядке Код: procedure TRestInformationFrame.BarcodeScannerDetected(Sender: TObject; const ABarcodes: TArray<FGX.Scanner.Barcode.TfgBarcode>); begin for var i := 0 to Length(ABarcodes) - 1 do begin mainf.vibrate(100); searchEdit.Text := ABarcodes[i].RawData; break; end; BarcodeScanner.Active := false; BottomSheetCamera.Hide; SearchData(searchEdit.Text); end; Что-то делаю не так?

      • Like
      • Thanks
    • 1 reply
    • 127 views
  10. Приветствую, не могу разобраться ? Можете показать пример работы) Скинул компонент на форму указал в свойство Camara -> fgCamera. Какой код нужно написать OnDetected?

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.