Search found 77 matches
- 20 Jun 2022, 03:48
- Forum: Scripts and Functions (v2)
- Topic: Python and AutoHotkey V2 call each other
- Replies: 2
- Views: 1233
- 16 Jun 2022, 11:07
- Forum: Scripts and Functions (v2)
- Topic: [FUNC] fuzz match return score
- Replies: 0
- Views: 458
[FUNC] fuzz match return score
Some fuzz match func Translate from https://github.com/maxbachmann/rapidfuzz-cpp use example ;https://github.com/maxbachmann/rapidfuzz-cpp /* ("rapid_fuzz_cpp_ratio", "rapid_fuzz_cpp_partial_ratio", "rapid_fuzz_cpp_token_ratio", "rapid_fuzz_cpp_partial_token_ratio" "rapid_fuzz_cpp_token_sort_ratio"...
- 15 Jun 2022, 09:15
- Forum: Scripts and Functions (v1)
- Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
- Replies: 391
- Views: 250098
Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
You can find there https://github.com/kazhafeizhale/imgui4ahk/blob/main/autohotkey_v2/%E4%BA%91%E9%A1%B6%E4%B9%8B%E5%BC%88/%E4%BA%91%E9%A1%B6%E4%B9%8B%E5%BC%88.ah2
- 04 Jun 2022, 23:42
- Forum: Scripts and Functions (v2)
- Topic: LOG lib
- Replies: 0
- Views: 461
LOG lib
LOG lib print to console , editor(VSCODE ...), file #include <log> logger.is_out_file := true ;logger.is_use_editor := false logger.level := logger.level_trace logger.debug("debug") logger.trace("trace") s1 := "100" s2 := 100 s3 := "autohotkey" s4 := map("key", "nice") obj := {key : "value"} logger...
- 30 Apr 2022, 07:13
- Forum: Scripts and Functions (v1)
- Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
- Replies: 391
- Views: 250098
- 17 Apr 2022, 03:21
- Forum: Scripts and Functions (v2)
- Topic: opencv-ahk bindings
- Replies: 5
- Views: 2809
Re: opencv-ahk bindings
example : image process https://i.postimg.cc/GBR3G2qn/image.png https://i.postimg.cc/hXLcDngy/image.png https://i.postimg.cc/QBSD7qFc/image.png https://github.com/kazhafeizhale/opencv_ahk/tree/main/graphAngle #include "cv2.ah2" #DllLoad opencv_ahk.dll cv := ObjFromPtr(DllCall('opencv_ahk.dll\opencv_...
- 17 Apr 2022, 03:12
- Forum: Scripts and Functions (v2)
- Topic: opencv-ahk bindings
- Replies: 5
- Views: 2809
Re: opencv-ahk bindings
example : matchtemplate find image from screen, use dxgi and opencv ImageSearch use 300ms vs dxgi&opencv 30ms https://github.com/kazhafeizhale/opencv_ahk/tree/main/matchtemplate https://i.postimg.cc/D0Vw3CTY/image.png #DllLoad opencv_ahk.dll #include <wincapture> #include <cv2> #include <log> SetWo...
- 27 Mar 2022, 23:03
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
May be You need smth like this? cv := ComObjCreate("OpenCV.cv") big := cv.imread("big.jpg") small := cv.imread("small.jpg") roi := ComObjArray(VT_VARIANT:=12, 4) roi[0] := 0 roi[1] := 0 roi[2] := small.width roi[3] := small.height small.copyTo(ComObjCreate("OpenCV.cv.Mat").create(big, roi)) cv.imsh...
- 27 Mar 2022, 05:36
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
- 27 Mar 2022, 04:44
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
not create func, The large image was not modified at the end
- 27 Mar 2022, 01:08
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
Hi malcev
I want use this methoud, but i don't know how to use, can you give a example? thanks!
I want use this methoud, but i don't know how to use, can you give a example? thanks!
Code: Select all
["cv.Mat.Mat", "", [], [
["Mat", "src", "", []],
["Rect", "roi", "", []]
], "", ""],
- 24 Mar 2022, 21:08
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
For what exactly do You need this? May be smth like this. cv := ComObjCreate("OpenCV.cv") src := cv.imread("test.png") roi := ComObjArray(VT_VARIANT:=12, 4) roi[0] := 100 roi[1] := 200 roi[2] := 300 roi[3] := 400 ComObjCreate("OpenCV.cv.Mat").create(src, roi) And the original image does not occupy ...
- 23 Mar 2022, 23:10
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
Mat src = imread("test.png"); src(Rect(0, 0, 0, 0)); /** @overload @param m Array that (as a whole or partly) is assigned to the constructed matrix. No data is copied by these constructors. Instead, the header pointing to m data or its sub-array is constructed and associated with it. The reference ...
- 16 Feb 2022, 05:02
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
Thanks,
I have anothere question ,where can i get contours[a_index-1] type ? https://github.com/smbape/node-autoit-opencv-com/blob/3920980da29ae8ef71b0c49738f1f374d12a8604/src/declarations/Mat.js?
I have anothere question ,where can i get contours[a_index-1] type ? https://github.com/smbape/node-autoit-opencv-com/blob/3920980da29ae8ef71b0c49738f1f374d12a8604/src/declarations/Mat.js?
- 14 Feb 2022, 09:48
- Forum: Scripts and Functions (v1)
- Topic: OpenCV COM
- Replies: 51
- Views: 14320
Re: OpenCV COM
https://www.autoitscript.com/forum/topic/206432-opencv-v4-udf On autohotkey register and use something like this: ; register com hOpencv := DllCall("LoadLibrary", "str", "opencv-4.5.4-vc14_vc15\opencv\build\x64\vc15\bin\opencv_world454.dll", "ptr") hOpencvCom := DllCall("LoadLibrary", "str", "autoi...
- 12 Feb 2022, 04:57
- Forum: Scripts and Functions (v2)
- Topic: [2.0-rc.1] Native.ahk - A way for binding third-party dll libraries to AHK, and create native functions from MCode
- Replies: 22
- Views: 7229
- 09 Jan 2022, 10:36
- Forum: Ask for Help (v1)
- Topic: tooltip with scroll bar
- Replies: 2
- Views: 483
Re: tooltip with scroll bar
Loop, 500 ttext .= "asdf " tip(ttext) Sleep, 3000 tip() Return TipGuiEscape: Gui, Tip:Destroy Return tip(ttext := "") { If (ttext > "") { Gui, Tip:New, +ToolWindow -Caption Gui, Margin, 1, 1 Gui, Add, Edit, w300 r30 ReadOnly, %ttext% Gui, Show, NoActivate } Else Gui, Tip:Destroy } Thank you very mu...
- 09 Jan 2022, 08:17
- Forum: Ask for Help (v1)
- Topic: tooltip with scroll bar
- Replies: 2
- Views: 483
tooltip with scroll bar
Hi
If i show a large number of text, tooltip can't show all in screen, Can tooltip whith a scroll bar?
If i show a large number of text, tooltip can't show all in screen, Can tooltip whith a scroll bar?
- 01 Jan 2022, 05:10
- Forum: Ask for Help (v1)
- Topic: LoadPicture() from variable Topic is solved
- Replies: 12
- Views: 41320
Re: LoadPicture() from variable Topic is solved
[Mod edit: This message by @kazhafeizhale ended up in the reports for this post, so that nobody could see it. Now it has been transformed into a post:]
kazhafeizhale wrote:HI, you may need free memory
Dllcall("GlobalFree", "Ptr", hData)
- 31 Dec 2021, 22:50
- Forum: Ask for Help (v1)
- Topic: Show image from memory
- Replies: 1
- Views: 291
Show image from memory
Hi,
Now, I have a BMP in memory, How i show this image
I have a pointer to this memory block
Now, I have a BMP in memory, How i show this image
I have a pointer to this memory block