Hello,
I want to make a script to detect and interact with 3d models. I tried image search, but the dimensions of the image change as you move around the object or the "weather conditions change". I attempted to variant the picture, but after 1 point, it detected the wrong object. Also, the higher the variant, the more complex/slower the image to be found. I tried pixelsearch, but I found a lot of pixels with the same color in different locations. Search for multiple pixels in a specific area is hard to implement and probably very slow. Does anyone have any idea how to achieve it? If it is possible without memory, read?
Let's say, for example, that we would like to search for this mailbox 3d item, and when we find it, we would like to move the mouse over.
https://sketchfab.com/3d-models/world-of-warcraft-mailbox-42ddf56891cf498a90d25739120ff8e1
Found an old post, but the discussion didn't lead anywhere. Also, the uploaded file is no longer available.
https://www.autohotkey.com/board/topic/16866-3d-image-detection/
Detect/interact with 3d objects
Detect/interact with 3d objects
Last edited by apolonas on 01 Jul 2023, 15:07, edited 3 times in total.
Re: Detect/interact with 3d objects
Search forum for opencv.
https://www.youtube.com/@LearnCodeByGaming
https://www.youtube.com/@LearnCodeByGaming
Re: Detect/interact with 3d objects
Hello, I came across your post on ahkv1 and am interested in learning more about the subject. Would you happen to have any tutorials available for ahkv2? I noticed the Python video, but I'm specifically looking for ahkv2. Additionally, I was wondering if you plan to port it to ahkv2 anytime soon.malcev wrote: ↑01 Jul 2023, 14:49Search forum for opencv.
https://www.youtube.com/@LearnCodeByGaming
viewtopic.php?t=96394
Update
I found the ahkv2 version, so never mind.
viewtopic.php?f=83&t=114025&p=515569&hilit=OpenCV#p515569
If you have time, provide an example of how to use OpenCV and ahkv2 to detect the object I posted. Your assistance is appreciated. Thank you.
Re: Detect/interact with 3d objects
I do not use ahk v2 and therefore cannot provide an example.
I recommend You to go to my link on youtube and watch lessons how to detect objects in games using python+opencv, and then convert python code to ahk or just use python
Also read this examples
https://github.com/slyautomation/osrs_yolov5
https://github.com/smbape/node-autoit-opencv-com/tree/main/samples/dnn/object_detection
I recommend You to go to my link on youtube and watch lessons how to detect objects in games using python+opencv, and then convert python code to ahk or just use python
Also read this examples
https://github.com/slyautomation/osrs_yolov5
https://github.com/smbape/node-autoit-opencv-com/tree/main/samples/dnn/object_detection
Who is online
Users browsing this forum: No registered users and 34 guests