Weijia Liu

Results 23 comments of Weijia Liu

Windows 平台使用`isActiveWindow`函数只有当焦点处于主窗口时才返回`true`,Linux 平台(Ubuntu KDE)在点击任务栏图标时`isActiveWindow`函数返回`true`,在 Linux 平台上可以比较好地实现显示/隐藏主窗口功能。 关于 Windows 平台获取前景窗口,在 WizNotePlus 中使用 Windows API GetForegroundWindow 始终返回相同值,无法判断主窗口是否处于激活状态(前景窗口)。

这个 commit 主要为了后续使用全局快捷键快速隐藏/显示主窗口,按照我的想法,Windows 平台上通过鼠标单击任务栏图标(或右键显示/隐藏主窗口)无法隐藏主窗口,只能显示主窗口,跟现在一样。然后当焦点处于主窗口并使用快捷键时,可以隐藏主窗口,因为此时`isActiveWindow`函数返回`true`,符合隐藏条件。

> > 另外我想引入全局快捷键,这样可以使用全局快捷键快速显示/隐藏主窗体,像微信的 Ctrl+Alt+W 热键 > > 你这个想法我比较赞同,但是我没有实现它的思路。 我试了一下,[QHotkey](https://github.com/Skycoder42/QHotkey)这个库挺好用

Windows 平台的行为和 Linux 有差异,表现为鼠标操作隐藏主窗口无效,Linux 平台行为符合预期,另外我这边没有在 MacOS 平台测试

> Hi, I appreciate your interest in our work. However, the code for key point detection is still under processing. We will release soon. you can refer to the code...

可以试试[这个](https://gitee.com/yar999/msgq/tree/master),用dbus-monitor监听托盘新图标的信号,然后用 notify-send 发提醒通知

@jiangfan2 链接:https://pan.baidu.com/s/1yOLfXy5ygCBTK8Lz4rykqA 提取码:qs6k

原始模型是 TensorFlow ,转到 onnx ,input 模型训练时 `(img - 128) / 128`,在使用量化工具时,`test_images` 做了同样操作