yuanyan3060 / arknights-tile-pos Goto Github PK
View Code? Open in Web Editor NEW识别明日方舟地图中的格子
License: MIT License
识别明日方舟地图中的格子
License: MIT License
想问一下 MatrixP
中的 1000 和 0.3 是游戏中摄像机的真实配置吗, 如果不是, 考虑到这里只需要获得屏幕坐标, 没有裁切等操作, 用 MatrixP
把坐标换到完整的 NDC space 中是不必要的, 应该可以直接写成
$$\begin{bmatrix} \frac{h}{2} \cot\frac{\text{FOV}_h}{2} & & & \\ & \frac{h}{2} \cot\frac{\text{FOV}_h}{2} \\ & & 0 & 0 \\ & & -1 & 0 \end{bmatrix}$$
后面也不用再对 view_point
乘以 height
和 width
缩放了.
(如果这是正确的话, 这部分应该也只是进行了简单的透视除法, 看上去所有变换都可以不使用任何矩阵库来进行, 但可能降低一些可读性)
(开摆, 我不想写 pr 了喵, 不过回头可能开个新 repo 尝试去重写一下
If one has OpenCV installed in the system already, it would be annoying if OpenCV dependency was cloned with the repo. (git clone
command cannot exclude files)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.