Code Monkey home page Code Monkey logo

azur-arknights-helper's Introduction

Hi there 👋

Visitors

  • 🎓 BJTU School of Software Engineering
  • 🔭 Working on ACH, a Minecraft Server Helper for AzurCraft
  • 🌱 Learning Rust

Top Langs

azur-arknights-helper's People

Contributors

azurice avatar tjw2003 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

tjw2003

azur-arknights-helper's Issues

analyzer 失败 panic

thread 'tokio-runtime-worker' panicked at C:\Users\11358\.cargo\git\checkouts\azur-arknights-helper-c8d71d46da1b5790\41005d8\packages\aah-core\src\vision\analyzer\deploy.rs:53:24:
attempt to subtract with overflow

多种设备屏幕不同分辨率、比例适配

推测 UI 内容按照屏幕高度成比例缩放

如果上述推测成立,目前有两种思路:

  • 一种方法是预处理,不过可能导致两次误差引入:
    • 在设备截屏时直接做缩放,模板匹配就可以直接进行
    • 操作时将坐标变换回去
  • 另一种方法是在模板匹配时对模板进行缩放,但是模板放大插值会导致匹配误差被放大的问题。

Caused by: In Device::create_bind_group note: label = `CrossCorrelationMatcher BindGroup` Buffer binding size is zero note: buffer = `<Buffer-(4, 3, Dx12)>

thread 'tokio-runtime-worker' panicked at C:\Users\14858.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.19.4\src\backend\wgpu_core.rs:3006:5:
wgpu error: Validation Error

Caused by:
In Device::create_bind_group
note: label = CrossCorrelationMatcher BindGroup
Buffer binding size is zero
note: buffer = <Buffer-(4, 3, Dx12)>

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at src\commands.rs:56:43:
called Result::unwrap() on an Err value: PoisonError { .. }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.