معرفی شرکت ها


d2vs-0.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Save contacts from your terminal
ویژگی مقدار
سیستم عامل -
نام فایل d2vs-0.0.3
نام d2vs
نسخه کتابخانه 0.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Eric Carmichael
ایمیل نویسنده eric@ckcollab.com
آدرس صفحه اصلی https://github.com/wangonya/contacts-cli
آدرس اینترنتی https://pypi.org/project/d2vs/
مجوز MIT
<div align="center"> ![d2vs](docs/d2vs.png) </div> # what is this diablo 2 vision system is a library to assist with the automation of d2, using only pixels, keyboard and mouse # installation ```bash $ pip install d2vs ``` _NOTE: this can run via CPU, but via GPU is far superior. You must install CUDA and the appropriate python jazz to get that working, for me with CUDA10.1:_ ```bash $ conda install torch torchvision cudatoolkit=10.1 -c pytorch ``` # usage <div align="center"> ![image](https://user-images.githubusercontent.com/2185159/142674287-37311056-5483-4956-b786-b5ffc17bfc69.png) _(586_gold.png)_ </div> ```py import numpy as np from d2vs.ocr import OCR from PIL import Image # Initiate OCR ocr = OCR() # Load an Image img = Image.open("586_gold.png") # Scan the image bounds, text, item_type = ocr.read(img) # Print out the data for demo purposes top_left, top_right, bottom_right, bottom_left = bounds print(top_left, top_right, bottom_right, bottom_left) # ([2, 2], [158, 2], [158, 32], [2, 32]) print(text) # '586 Gold' print(item_type) # 'Normal' ``` # project goals - Have fun automating single player! Not for profit - OCR with near 100% accuracy - Visually determine where you are in game, area level and world coordinate system - Click from world coords to screen coords - Path through unexplored areas to a goal - Facilitate complete d2 bot from lvl 1 to 99 - Pick it <div align="center"> ![image](https://user-images.githubusercontent.com/2185159/142713867-b60e6dd6-08d9-4e55-862e-dba55cffff67.png) _an example map reading from d2vs of black marsh_ ![image](https://user-images.githubusercontent.com/2185159/144722467-5fdc4eb4-8a1a-4c96-b280-b818a6c24d27.png) _nodes for the static map Harrogath_ </div> # development ## setup ```bash $ git clone ... $ pip install -r requirements.dev.txt ``` ## running tests ```bash $ pytest ``` ## distributing ```bash $ python setup.py sdist bdist_wheel $ twine upload dist/* ```


نیازمندی

مقدار نام
==1.4.1 easyocr
==1.21.4 numpy


نحوه نصب


نصب پکیج whl d2vs-0.0.3:

    pip install d2vs-0.0.3.whl


نصب پکیج tar.gz d2vs-0.0.3:

    pip install d2vs-0.0.3.tar.gz