Jump to content

Recommended Posts

Posted

WarMan, thanks for respone..

i had download the 2 file and install then.

i had got "opencv_world4120.dll and another.

but i can not found file "autoit_opencv_com4120.dll" in every path...  

opencv_world4120.dll"autoit_opencv_com4120.dll"?

-Everything are starting by the dreams.-Everybody is working with computer.-Everydays will auto because we need it. Come on..Let's doing...AUTOIT....^^"..just a little idea..a little A.D.

Posted (edited)

maybe your antivirus is deleting it?
because the file is in 'autoit-opencv-4.12.0-com-v2.8.0.7z'

"C:\Users\ioa747\Downloads\autoit-opencv-4.12.0-com-v2.8.0\autoit_opencv_com4120.dll"

Edited by ioa747

I know that I know nothing

Posted
20 hours ago, ioa747 said:

maybe your antivirus is deleting it?
because the file is in 'autoit-opencv-4.12.0-com-v2.8.0.7z'

"C:\Users\ioa747\Downloads\autoit-opencv-4.12.0-com-v2.8.0\autoit_opencv_com4120.dll"

Thanks for your help. I got it.

because i download the file "node-autoit-opencv-com-2.8.0.zip"

i think it is sample and all of files. So i can not found it.

 

-Everything are starting by the dreams.-Everybody is working with computer.-Everydays will auto because we need it. Come on..Let's doing...AUTOIT....^^"..just a little idea..a little A.D.

Posted

i trying this...
----
local $barcode = $cv.barcode.BarcodeDetector()
$barcode.detectAndDecodeWithType($gimg)
; decode will return bool and decode_info,decode_points
; use $cv.extended to got it (at readme.md)
if $cv.extended[0]=True Then
    local $code = $cv.extended[1]
    ConsoleWrite('@@CODE=[' & $code & ']@@' & @CRLF ) ;### Debug Console
EndIf
----
it is return true.
but i can not got the code
where are error?
how can i to do ?

 

-Everything are starting by the dreams.-Everybody is working with computer.-Everydays will auto because we need it. Come on..Let's doing...AUTOIT....^^"..just a little idea..a little A.D.

Posted (edited)

According to the documentation of cv::barcode::BarcodeDetector::detectAndDecodeWithType, the signature is

bool cv::barcode::BarcodeDetector::detectAndDecodeWithType 	( 	InputArray 	img,
		std::vector< std::string > & 	decoded_info,
		std::vector< std::string > & 	decoded_type,
		OutputArray 	points = noArray() ) const
Python:
	cv.barcode.BarcodeDetector.detectAndDecodeWithType(	img[, points]	) -> 	retval, decoded_info, decoded_type, points

$cv.extended[1] is an Array of string. ConsoleWrite does not display arrays.
Use _ArrayDisplay instead

Edited by smbape

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...