
CVUI
Chris Kang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
19. CVUI 2.7.0 鼠标和 OpenCV 窗口:Multiple OpenCV windows 【有问题 未解决】(官方文档翻译)
官网文档链接:https://dovyski.github.io/cvui/advanced-multiple-windows/多 OpenCV 窗口 (Multiple OpenCV windows)如果项目使用了多个 OpenCV 窗口,例如,显示中间结果,而且那些窗口有 cvui 组件,用户需要执行一些额外的步骤来确保 UI 组件正常工作。以下部分展示了如何在多个窗口中使用 cvui ...原创 2020-04-24 10:02:06 · 502 阅读 · 0 评论 -
18. CVUI 2.7.0 鼠标和 OpenCV 窗口:Mouse(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/advanced-mouse/Mousecvui 拥有自己的鼠标 API 可以追踪鼠标点击和光标位置。与鼠标相关的所有内容都可以从 cvui::mouse() 中访问到。以下部分将详细介绍所有可用的鼠标信息。光标位置(Cursor position)用户可以通过调用 cvui::mouse() 随时查询鼠标光标...原创 2020-04-23 17:41:38 · 841 阅读 · 0 评论 -
17. CVUI 2.7.0 鼠标和 OpenCV 窗口:介绍(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/advanced-introduction/鼠标和 OpenCV 窗口 (Mouse and OpenCV windows)有些应用程序需要复杂的 UI 交互,包括使用鼠标光标或多个 OpenCV 窗口。在使用多个 OpenCV 窗口(包含着 cvui 组件)或 cvui 的鼠标 API 时,唯一需要考虑的是必须指...原创 2020-04-22 20:53:00 · 348 阅读 · 0 评论 -
16. CVUI 2.7.0 行和列:行列嵌套(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/layout-nesting/行列嵌套 (Nesting rows and columns)row/column 可以相互嵌套来创建更复杂的布局,而不需要单独定位组件。当一列或一行嵌套在另一列或另一行中时,它的行为类似于普通的组件:如果需要,用户不需要指明渲染它的帧或它的 (x, y) 坐标,只需要指明它的宽度和高...原创 2020-04-22 20:37:24 · 321 阅读 · 0 评论 -
15. CVUI 2.7.0 行和列:Rows and Columns(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/layout-introduction/Rows and Columns 简介在构建 UI 时,最麻烦的任务之一时计算每个组件在屏幕上的位置。cvui 有一组抽象该进程的方法,因此不必考虑 (x, y) 的坐标。相反,你只需要创建 rows/columns ,cvui 将为用户安排组件。使用 beginRow() ...原创 2020-04-19 20:58:37 · 855 阅读 · 0 评论 -
14. CVUI 2.7.0 组件:Iarea(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/iarea/iareacvui::iarea() 创建一个报告鼠标光标活动的交互区域。函数声明如下:int iarea(int theX, int theY, int theWidth, int theHeight);theX 是 X 坐标,theY 是 Y 坐标,theWidth 是交互...原创 2020-04-11 22:35:41 · 333 阅读 · 0 评论 -
13. CVUI 2.7.0 组件:Sparkline(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/sparkline/Sparklinecvui::sparkline() 将 std::vector 的值渲染成图,函数声明如下:void sparkline ( cv::Mat& theWhere, std::vector<double>& the...原创 2020-04-09 15:30:00 · 498 阅读 · 0 评论 -
12. CVUI 2.7.0 组件:Rect(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/rect/Rectcvui::rect() 渲染一个矩形,可以填充也可以不填充。函数声明如下:void rect ( cv::Mat& theWhere, int theX, int theY, int theWidth, int theHeig...原创 2020-04-09 11:22:21 · 429 阅读 · 0 评论 -
11. CVUI 2.7.0 组件:Window 【有问题 未解决】(官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/window/Windowcvui::window() 渲染一个窗口(一个带有标题和主题的块),函数声明如下:void window ( cv::Mat& theWhere, int theX, int theY, int theWidth, i...原创 2020-04-09 10:40:43 · 467 阅读 · 2 评论 -
10. CVUI 2.7.0 组件:Trackbar (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/trackbar/Trackbarcvui::trackbar() 渲染一个数值型的 trackbar,用户可以通过单击/向左右拖动标记来增加/减少数值。函数声明如下:template <typename T>bool trackbar ( cv::Mat& th...原创 2020-04-08 17:31:23 · 734 阅读 · 0 评论 -
9. CVUI 2.7.0 组件:Counter (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/counter/countercvui::counter() 可以为整数或双精度浮点数提供一个计算器,用户可以通过单击上下箭头来增加/减少该计数器。函数声明如下:int counter ( cv::Mat& theWhere, int theX, int the...原创 2020-04-05 16:58:49 · 407 阅读 · 0 评论 -
8. CVUI 2.7.0 组件:Printf (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/printf/printfcvui::printf() 用于渲染一段可以使用 C printf() 样式格式化的文本。函数声明如下:void printf(cv::Mat& theWhere, int theX, int theY, const char *theFmt, ...);...原创 2020-04-05 13:22:13 · 476 阅读 · 0 评论 -
7. CVUI 2.7.0 组件:Text (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/text/Textcvui::text() 渲染一段字符串。函数声明为:void text ( cv::Mat& theWhere, int theX, int theY, const cv::String& theText, doubl...原创 2020-04-05 12:11:36 · 692 阅读 · 0 评论 -
6. CVUI 2.7.0 组件:Checkbox (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/checkbox/Checkboxcvui::checkbox() 渲染一个复选框,函数声明如下:bool checkbox ( cv::Mat& theWhere, int theX, int theY, const cv::String& t...原创 2020-04-05 11:57:12 · 495 阅读 · 0 评论 -
5. CVUI 2.7.0 组件:Image (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/image/Imagecvui::image() 可以渲染一张图像,即 cv::Mat。函数声明为:void image(cv::Mat& theWhere, int theX, int theY, cv::Mat& theImage);theWhere 是要渲染图像的图像...原创 2020-04-05 02:08:04 · 386 阅读 · 0 评论 -
4. CVUI 2.7.0 组件:Button (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/components/button/Buttoncvui::button() 提供一个 button (按钮) ,button 功能调用如下:bool button(cv::Mat& theWhere, int theX, int theY, const cv::String& theLabel)...原创 2020-04-05 00:30:16 · 1161 阅读 · 1 评论 -
3. CVUI 2.7.0 入门:使用 (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/usage/下面是使用 CVUI 需要执行的几个步骤。C++ 中使用 CVUI (Using cvui in C++)1. Include cvui.h下载最新版本的 CVUI 并将 cvui.h 与项目文件放在一起。在 C++ 的一个文件中包含 cvui.h ,如下所示:#define CVUI_IMPLE...原创 2020-04-04 16:10:43 · 1452 阅读 · 0 评论 -
1. CVUI 2.7.0 入门:简介 (官方文档翻译)
官方文档链接:https://dovyski.github.io/cvui/概述CVUI 是一个简单的 UI 库,构建在 OpenCV 绘图原语上。其他的 UI 库,例如 imgui,需要一个图形化的后端(比如 OpenGL)才能工作。所以如果你想在 OpenCV 应用中使用 imgui,必须先启用 OpenGL。但是使用 CVUI 就不需要这样,CVUI 只使用 OpenCV 绘图原语来...原创 2020-03-15 19:55:22 · 864 阅读 · 0 评论