topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
how to get CTRL + LBUTTONDOWN Event ? | Dear Jimmy,
Here you have a working example:
[code=fw:3h2t1ew7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span... |
how to get CTRL + LBUTTONDOWN Event ? | hi Antonio,
[quote:1rcbe66b][code=fw:1rcbe66b]<div class="fw" id="{CB}" style="font-family: monospace;">oWnd:<span style="color: #000000;">bLClicked</span> = <span style="color: #000000;">{</span> || <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> GetKeyState<span style="color: #... |
how to get Handle of Scrollbar() of Control ? | hi,
i want to change Color of Scrollbar when appear.
for this i need Handle of Scrollbar
this i made under Xbase++
[img:16l64iwf]https://i.postimg.cc/wxfQNnGs/Scrollbar-Darkmode.jpg[/img:16l64iwf]
---
i have override Fivewin Method for my CLASS TGrid()
[code=fw:16l64iwf]<div class="fw" id="{CB}" styl... |
how to get Information from ::aControls | hi,
i do have REDEFINE BUTTON and i want to get hWnd of each Control
[code=fw:z5oie6b5]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">FOR</span> ii := <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> LEN<span style="color: #000000;">(</spa... |
how to get Information from ::aControls | When we create controls on a Window, all controls are fully created and so have valid hWnd.
When we create controls on a dialog, the controls are created only when the dialog is initialized. So, hWnd is valid only after activating the dialog. |
how to get Information from ::aControls | hi,
[quote:cb5ol5zc]When we create controls on a dialog, the controls are created only when the dialog is initialized.
So, hWnd is valid only after activating the dialog.[/quote:cb5ol5zc]
ah ... ok, thx
have to over-think concept |
how to get WM_POWERBROADCAST under Fivewin ? | +1 |
how to get WM_POWERBROADCAST under Fivewin ? | hi,
i want to avoid "Energy-Saving" when App is running.
---
there is a WM_POWERBROADCAST Message which i use under Xbase++ / Ot4xb
[code=fw:388lxn7j]<div class="fw" id="{CB}" style="font-family: monospace;"> ELSEIF nMsg == WM_POWERBROADCAST<br /> <span style="color: #00C800;">DO</span> <span style="color: #0... |
how to get WM_POWERBROADCAST under Fivewin ? | Dear Jimmy,
You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam )
[code=fw:dvaono5y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">CLASS</span> TMyWindow <span style="color: #0000ff;">FROM</span> TWindow<br /><br /> &n... |
how to get WM_POWERBROADCAST under Fivewin ? | hi Antonio,
[quote="Antonio Linares":3ecwyg51]You have to inherit a new class from TWindow and redefine the Method HandleEvent( nMsg, nWParam, nLParam )[/quote:3ecwyg51]
Ok, thx i will try it |
how to get WM_POWERBROADCAST under Fivewin ? | hi,
it seem that WM_POWERBROADCAST is not "fired" on every Windows 10/11 PC
on some PC it run fine hole Day but other still go "sleep" <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
so i use another Option and that seems to work fine on all PC ( > VISTA )
[quote:z5... |
how to get WM_POWERBROADCAST under Fivewin ? | +1 |
how to get WM_POWERBROADCAST under Fivewin ? | [code=fw:178t2bk7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> SETSTANDBY <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> EXECUTION_STATE esFlags = <span styl... |
how to get WM_POWERBROADCAST under Fivewin ? | hi,
thx to show me how HB_FUNC() look like |
how to get no Titlebar | hi,
for Splash Screen i like to remove Titlebar
[code=fw:378i42zc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oDlg <span style="color: #0000ff;">FROM</span> y1, x1 <span style="color: #0000ff;">TO</span> y2, x2 <span ... |
how to get no Titlebar | Dear Jimmy,
Use a dialog instead of a window |
how to get no Titlebar | hi Antonio,
[quote="Antonio Linares":2b2ptcb0]
Use a dialog instead of a window[/quote:2b2ptcb0]
have try it
after disable 2unknown" Parameter it run ... and hang ... <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
but i found Solution
[code=fw:2b2ptcb0]<div class="fw" id="{CB}... |
how to handle License for MySQL PostgreSQL & Co ? | hi,
if we use MySQL or PostgreSQL we must buy a License, but "where" to buy and how much does it cost <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
how to handle License for MySQL PostgreSQL & Co ? | Both are free
We can download and install on any computer.
Though full versions are Microsoft SQL and Oracle are costly, we can freely download and install their Express Editions viz., SQLEXPRESS, Oracle Express, whose main limitation is Database Size (around 10/12 GB) which is more than enough for development as well... |
how to handle License for MySQL PostgreSQL & Co ? | hi,
i´m asking while Alaska want to pay for PGDBE when use it <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[url:tiyq10dx]https://www.alaska-software.com/products/pg-product-list.cxp[/url:tiyq10dx]
it is new for me that a Company sell a Pro... |
how to handle License for MySQL PostgreSQL & Co ? | ADO is free for all of us and we can work with any RDBMS.
In addition,
Harbour provides an excellent Library for working with PostGre. I think we should be able to use this library even with HMG.
For MySQL/MariaDB, we have FWH built-in library in addition to TDolphin and TMySql.
Most probably TDolphin and TMySql may w... |
how to handle License for MySQL PostgreSQL & Co ? | [quote="nageswaragunupudi":24kx0nui]ADO is free for all of us and we can work with any RDBMS.
In addition,
Harbour provides an excellent Library for working with PostGre. I think we should be able to use this library even with HMG.
For MySQL/MariaDB, we have FWH built-in library in addition to TDolphin and TMySql.
Mos... |
how to handle License for MySQL PostgreSQL & Co ? | hi,
thx for Answer
as i know MySQL is using GPL License, which means you need to purchase a commercial license to distribute proprietary code that uses those libraries.
PostgreSQL use MIT license, where you "only" must include MIT License TEXT with Copyright
---
the Question is "where" i have to "pay" for it to us... |
how to handle License for MySQL PostgreSQL & Co ? | Maybe this is not related, but can we also connect to
Pervasive PSQL V13 files ?
I want to import data into my dbf files (
Pervasive before was using BTrieve files (still do) but the old connection program is not working anymore |
how to handle License for MySQL PostgreSQL & Co ? | Hi Marc!
Have you try [url:b1gpsn7z]https://www.connectionstrings.com/pervasive/[/url:b1gpsn7z] ?
Regards, |
how to handle License for MySQL PostgreSQL & Co ? | We can not distribute servers. (server software)
But we can distribute any application using ADO or Harbour or FWH libraries either for free or at cost without any licenses to work with any RDBMS/database installed or hired by the user. |
how to handle License for MySQL PostgreSQL & Co ? | Use mariadb not MySQL. |
how to identify the version of windows mobile? | Hi all,
how to identify the version of windows mobile?
Thanks for your response
Best regards,
Ugo |
how to identify the version of windows mobile? | Ugo,
Here you have a working example:
[code:1c3r3qo5]
// Check Windows Mobile version
#include "FWCE.ch"
function Main()
local aVersion := GetVersion()
MsgInfo( "Major version: " + Str( aVersion[ 1 ] ) + CRLF + ;
"Minor version: " + Str( aVersion[ 2 ] ) + CRLF + ;
... |
how to identify the version of windows mobile? | Antonio,
thank you. |
how to identify which HB_CODEPAGE was REQUEST | hi,
to use a Codepage i must REQUEST it before.
but how do i "identify" if a Codepage was REQUEST so i can "use" it <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
how to identify which HB_CODEPAGE was REQUEST | Dear Jimmy,
[url:2fvsnlcx]http://harbourlanguage.blogspot.com/2010/06/harbour-codepage.html[/url:2fvsnlcx]
also review this:
[url:2fvsnlcx]https://github.com/harbour/core/blob/master/src/rtl/cdpapihb.c[/url:2fvsnlcx] |
how to identify which HB_CODEPAGE was REQUEST | hi Antonio,
i have follow links and made this Sample where i REQUEST DExxx Codepage
[code=fw:3r1ko6ch]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style=... |
how to know current driver is local or network driver ? | Hi,
as title.
another title , where to find harbour functions list ?
TKS!
Shuming Wang |
how to know current driver is local or network driver ? | [quote="ShumingWang":397ykwa3]
how to know current driver is local or network driver ?[/quote:397ykwa3]
Did you mean Current Drive is local or a network drive ?
If so, then you can use the function DriveType(cDriveLetterWithoutColon) --> nDriveType
[code=fw:397ykwa3]<div class="fw" id="{CB}" style="font-family: monosp... |
how to know current driver is local or network driver ? | Anser?
Thank you !
Shuming Wang |
how to link prg files in mod harbour | From slack
Otto Atzwanger 15:06 Uhr
Antonio, can you please tell me how I link in different prg files in mod harbour.
I mean if I have a prg with universal functions in it how do I access this prg file from my index.prg.
Antonio Linares 15:08 Uhr
Otto compile it as a HRB file then as the first line of your PRG writ... |
how to list opened dialogs and switch each ohter | Hi!
activate no modal dialog 1 title "one"
activate no modal dialog 2 title "two"
activate no modal dialog 3 title "three"
I want
1.to find a function like return aarray {"one","two",three"}
2.to switch from current activate diaglog "three" to another "two",hide "three" ,show "two"
... |
how to list opened dialogs and switch each ohter | The easiest way is to add the dialog to an array when activating (use on init clause) and delete from the array when closing (use valid clause).
Other way is
aWnd := GetAllWin()
Check if each oWnd in aWnd is a valid object and if it is a dialog and add it to aDialog array |
how to list opened dialogs and switch each ohter | TKS!
Shuming Wang |
how to make a listbox with no header | Is it possible to have a listbox with no header.Thanks in advanceOtto |
how to make a listbox with no header | Otto,Do you mean a browse ? |
how to make a listbox with no header | Antonio, yes.Regards,Otto |
how to make a listbox with no header | can I create a listbox ( Browse) with no header ? |
how to make an autoupdate program | Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if exist. But my doubt are in changing th... |
how to make an autoupdate program | I'm not sure whether this is what you're looking for but you can give it a try. <!-- m --><a class="postlink" href="http://www.fivewin.info/html/downloads.php?category=FiveWin%20users%20contributions&id=288">http://www.fivewin.info/html/downloads. ... ons&id=288</a><!-- m --> |
how to make an autoupdate program | [quote="José Luis Sánchez":1thi7v17]Hello:
I want to make my programs autoupdate via internet. I've thought made a menu entry that allow the program connect an internet server and look for a new version of the program. I think the first thing I've to do in connect the FTP server and then download the new version if ex... |
how to make an autoupdate program | Friend
Use the FTP Class too. With FTP Class you can download the update in silince. |
how to make an group in runtime | Hi guys
I hope this time you can help me
Iam goin to explain it with an example:
[list:gn9hi2nt]
--------------------------------------------------------------------------------------------
cta ruc Descripcion Monto
---------------------------... |
how to make an group in runtime | You have to add the new group to oRpt:aGroups also.
Regards,
James |
how to make listbox smaller | #include "Fivewin.ch" FUNCTION MAIN() LOCAL oDlg, oBrw LOCAL hBmp1 := READBITMAP( 0, "SELECT.BMP" ) LOCAL hBmp2 := READBITMAP( 0, "UNSELECT.BMP" ) USE TEST DEFINE DIALOG oDlg SIZE 400, 300 @ 0, 0 LISTBOX oBrw FIELDS FIELD -> last,; FIELD -> first,; ... |
how to make listbox smaller | Hello accwo, try without ON INIT oDlg:SetControl( oBrw )Regards,Otto |
how to make listbox smaller | You can use a resource editor and design the dialog however you wish.Regards,James |
how to make listbox smaller | >try without ON INIT oDlg:SetControl( oBrw ) It works.Thanks |
how to open devtoolswindow from application. | Hi,
I need to open devtoolswindows from application. The web page I am working on is not mine and it closed the access to devtoolswindow from the right button menu.
I have found this link. [url:u05pwpkm]https://stackoverflow.com/questions/64981617/how-to-open-devtools-from-code-in-webview2[/url:u05pwpkm]
[q... |
how to open devtoolswindow from application. | If I understood correctly, then the cookie window is bothering you?
This is for DIV with a bitmap. See his class.
Using Eval(document.getElementsByClassName("classname").style.visibility = "hidden"; ), remove it |
how to open devtoolswindow from application. | Dear Hakan,
I just opened a new issue requesting it:
[url:1bxfyqww]https://github.com/webview/webview/issues/947[/url:1bxfyqww] |
how to open devtoolswindow from application. | Working fine! <!-- s:-D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":-D" title="Very Happy" /><!-- s:-D -->
New DLLs and EXE example:
[url:2upzoiy7]https://github.com/FiveTechSoft/FWH_tools/blob/master/fivetech_webview.zip[/url:2upzoiy7]
[img:2upzoiy7]https://github.com/FiveTechSoft/screens... |
how to open devtoolswindow from application. | Please download a new FWH 24.04 build 3 already available |
how to open devtoolswindow from application. | Antonio, what changes have been made in build2 and build3 regarding the release of FW23.04 ? |
how to open devtoolswindow from application. | [quote="Antonio Linares":2y28x379]Please download a new FWH 24.04 build 3 already available[/quote:2y28x379]
What should be changed in TWebView class in order to use this function from dlls?
Thanks |
how to open devtoolswindow from application. | [quote="Natter":178o97y7]Antonio, what changes have been made in build2 and build3 regarding the release of FW23.04 ?[/quote:178o97y7]
Please read whatsnew.txt |
how to open devtoolswindow from application. | [quote="Horizon":2pfn6b0y][quote="Antonio Linares":2pfn6b0y]Please download a new FWH 24.04 build 3 already available[/quote:2pfn6b0y]
What should be changed in TWebView class in order to use this function from dlls?
Thanks[/quote:2pfn6b0y]
oWebView:OpenDevToolsWindow() |
how to open devtoolswindow from application. | [quote="Antonio Linares":3t5pnu8v][quote="Horizon":3t5pnu8v][quote="Antonio Linares":3t5pnu8v]Please download a new FWH 24.04 build 3 already available[/quote:3t5pnu8v]
What should be changed in TWebView class in order to use this function from dlls?
Thanks[/quote:3t5pnu8v]
oWebView:OpenDevToolsWindow()[/quote:3t5pn... |
how to open devtoolswindow from application. | Horizon,
I have installed the FTDN update, and now it's working. I think if you want to keep up with the latest developments, you need the FTDN update. With webview2 support, many new options are available.
Best regards,
Otto |
how to open devtoolswindow from application. | [quote="Otto":25bt4sb4]Horizon,
I have installed the FTDN update, and now it's working. I think if you want to keep up with the latest developments, you need the FTDN update. With webview2 support, many new options are available.
Best regards,
Otto[/quote:25bt4sb4]
I aggree with you Otto. I am also using WebView2 suppo... |
how to open devtoolswindow from application. | [quote="Horizon":2jegbo4p]
I aggree with you Otto. I am also using WebView2 support with 22.06. I also commend the Fwh team for their support.
Before update webview dlls (because of closing main window), There is an option in right button menu to enter devtoolswindow like above.
[url:2jegbo4p]http://www.objek... |
how to open devtoolswindow from application. | [quote="cnavarro":26dt9gi4][quote="Horizon":26dt9gi4]
I aggree with you Otto. I am also using WebView2 support with 22.06. I also commend the Fwh team for their support.
Before update webview dlls (because of closing main window), There is an option in right button menu to enter devtoolswindow like above.
[url:26dt9g... |
how to open devtoolswindow from application. | Dear Hakan,
It may be something that has changed inside webview.dll. We have not modified FWH code.
You may open an issue in [url:16zasd60]https://github.com/webview/webview[/url:16zasd60]
I get this popup here: (I can not understand what your popup says)
[img:16zasd60]https://github.com/FiveTechSoft... |
how to open devtoolswindow from application. | [quote="Antonio Linares":1q9krnue]Dear Hakan,
It may be something that has changed inside webview.dll. We have not modified FWH code.
You may open an issue in [url:1q9krnue]https://github.com/webview/webview[/url:1q9krnue][/quote:1q9krnue]
I definitely think the same.
Thanks. |
how to open devtoolswindow from application. | what menuitem is missing ? I can't understand what you posted... |
how to open devtoolswindow from application. | [quote="Antonio Linares":el3rspht]what menuitem is missing ? I can't understand what you posted...[/quote:el3rspht]
Hi Antonio,
When the right button is pressed in Webview, "Inspect" should appear on the bottom line of the menu that opens.
The pictures I sent are in Turkish. Somehow, although my Microsoft Edge brows... |
how to open devtoolswindow from application. | Dear Hakan,
[url:2ssx6ulb]https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/context-menus?tabs=cpp#adding-menu-items-to-a-context-menu[/url:2ssx6ulb]
thats not simple at all and it would require some hours (if not days) of coding and debugging |
how to open devtoolswindow from application. | Implemented <!-- s:-D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":-D" title="Very Happy" /><!-- s:-D -->
[img:gybh5ssc]https://github.com/FiveTechSoft/screenshots/blob/master/webview_popup_inspect.png?raw=true[/img:gybh5ssc] |
how to open devtoolswindow from application. | Thank you Antonio, Mr. Navarro,
I have solved my problem. I think default nDebug is changed in webview.
[code=fw:3s5iwqi6]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Please install <!-- m --><a class="postlink" href="https://developer.microsoft.com/en-us/m">https://devel... |
how to open devtoolswindow from application. | Dear Hakan,
Very good finding! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
> local oWebView := TWebView():New( 1 ) // shows the "inspect" menu item
thank you |
how to open multiple ports | how to open multiple ports simultaneously?
if I try:
nCom1 := OpenComm( "COM1", 1024 , 128)
nCom2 := OpenComm( "COM2", 1024 , 128)
then
nCom1=1
nCom2=1 |
how to open multiple ports | OpenPort() return handle of port
try:
COM_OPEN(1)
COM_OPEN(2)
Be sure that you have both of com ports installed in operating system
Function COM_OPEN(xPORT)
Local pNAME
Local nError,cDCB
Local xRESZTA:=.T.
Do Case
Case xPORT=1
pNAME:="COM1"
Case xPORT=2
pNAME:="COM2"
Case xPORT=3
pNAME:="COM3"
Case xPORT=4
... |
how to open multiple ports | The problem is that nCom1 and nCom2 have the same value. It is necessary that this value is different. |
how to open multiple ports | Try to use my example and check what BuildCommDcb and GetCommError will say. |
how to open multiple ports | definite problem is that it functions opncomm (.....) always returns the value 1. Why!? I do not know! I use FWH6.12 |
how to open multiple ports | [quote="mtajkov":2ks3oxen]I use FWH6.12[/quote:2ks3oxen]
Sorry but this is a way older FHW release. I don't think Fivetech is able to support it.
EMG |
how to prevent a processes from being terminated | Hello,
is there a way to prevent a processes from being terminated.
Thank you in advance
Otto |
how to prevent a processes from being terminated | Maybe:
[url:3ubjqccy]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=34126&start=0&hilit=ENDSESSION[/url:3ubjqccy] |
how to restart an app | Hello:
I have an application and I want to finish and restart it again. This is needed in situations like change language in menus or similar things, but I don't know how to do it. Any sugestion ?
Regards,
José Luis |
how to restart an app | Using an external EXE or BAT?
EMG |
how to restart an app | No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the user doubleclick the icon again.
I wa... |
how to restart an app | I not tryed , but :
Start the aplication with a batch file with as content :
YourExe.exe
CALL YoutBatch.bat
Then you have the possibilty to change YourBatch.bat from in the aplication and after that close the aplication
Frank |
how to restart an app | [quote="José Luis Sánchez":327hzb0x]No, I want to do with the same exe. Imagine you allow the user to select the language of the app, and you have your menus with i18n() calls... you have to reinit the app to achieve the menus on the new language selected. It's pretty smart if the app reinit for itself, not need the us... |
how to restart an app | Jose Luis:
You can call another fw application that calls your exe again, with a non visible window and then exit as the only task to do. In your fw program you call this exe and quits. The new application can activate a timer to wait a few seconds before execute the other program, if necessary.
Regard... |
how to restart an app | Enrico: the i18n() calls are the way to internazionalizate the app using the tools provided with xharbour.
Daniel: I know the way to do it, but I want to do it with the same app.
Regards, |
how to scan a barcode presents in a jpeg file | Hi,
I have a jpeg file that contains a barcode
Is it possible to create a function to which passed the file name as parameter manages to open it and interpret the barcode code?
[url:2aurryu3]http://www.marcoboschi.it/public/barcode.jpg[/url:2aurryu3]
[img:2aurryu3]http://www.marcoboschi... |
how to scan a barcode presents in a jpeg file | Hola, ¿tienes un lector de código de barras de teclado? Si lee, puede usar HBCOMM.LIB para leer cualquier GET.
Hello, do you have a Keyboard Barcode READER? If it reads, you can use HBCOMM.LIB to read any GET.
Regards, saludos. |
how to scan a barcode presents in a jpeg file | Para probar, utilice el Keyboard Reader mediante el comando PROMPT, o en cualquier editor de texto tipo EditPad.exe para ver si el código sale intacto en el editor o en el comando PROMPT.
To test, use the Keyboard Reader via command PROMPT, or in any text editor type EditPad.exe to see if the code comes out intact in ... |
how to scan a barcode presents in a jpeg file | Do mean that the images will be read and that you want to read the barcode without scanning it with a barcode reader ?
Not seen this in the forum.
Scanning is like Karinha says. We can provide a sample if needed. |
how to scan a barcode presents in a jpeg file | hi,
you can use GetPixel() Function to read each Pixel of a Image.
while Barcode have only B/W Result is easy to identify
but it is a very slow Solution |
how to scan a barcode presents in a jpeg file | Marco,
You can use the OpenCV (open computer vision) library to do it:
[url:2i2ni1dr]https://github.com/dnosit/python-opencv-barcode-automation[/url:2i2ni1dr]
[url:2i2ni1dr]https://www.pyimagesearch.com/2018/05/21/an-opencv-barcode-and-qr-code-scanner-with-zbar/[/url:2i2ni1dr]
Please search for op... |
how to scan a barcode presents in a jpeg file | This is a shared google colab doc with the code to review it and run it right there:
[url:1mwld7av]https://colab.research.google.com/drive/11afb45vJxBq0pCcwuYxsTP4vfPHHgVDK?usp=sharing[/url:1mwld7av]
Once you get it running there, then you can call it from Harbour |
how to scan a barcode presents in a jpeg file | Working with a right barcode, and it detects multiple barcodes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
two lines of code do the magic:
frame = cv2.imread( 'marco.jpg' )
barcodes = pyzbar.decode( frame )
it properly detects the right one:
1
1234567890128
EAN13
[im... |
how to scan a barcode presents in a jpeg file | Marco,
zbar library for C++: (opencv only supports C++)
[url:2lgp091m]http://zbar.sourceforge.net/download.html[/url:2lgp091m]
combining opencv and zbar you can do it. Google colab let us quickly test opencv (most examples are in python and C++)
and then, once you are satisfied with the results, the c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.