- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我不熟悉将 YOLOv2 用于项目的实时对象检测应用程序。
我遵循了 darknet 中的步骤网站。为了使用网络摄像头进行实时检测,我运行了这个命令(如下):
./darknet detector demo cfg/coco.data cfg/tiny-yolo.cfg tiny-yolo.weights
这会打开一个新的相机窗口,它可以检测 View 中的任何对象,并在终端中打印出预测的类别。我试图找到一种方法来存储这些类,以便我可以将它用于不同的目的。
谁能建议我 darknet 目录中的文件名,它正在终端中打印出类名?
最佳答案
对于第一个问题,您要查找的文件是 voc.names,位于 /data 文件夹中。
它包含检测发生时抛出的词。
如果您想用您的语言翻译检测,这是要修改的文件。
对于您的另一个问题,如何存储检测,在 linux 中可以通过管道 stdout 直接完成。
检测将逐行写入文件 detected.txt:
./darknet detector demo cfg/coco.data cfg/tiny-yolo.cfg tiny-yolo.weights >> detected.txt
我目前正在利用业余时间处理此问题。
我正在使用检测,然后用法语的音频文件说出它们。检测加倍以检测屏幕的左侧和右侧。它适用于网络摄像头、桌面或 wifi 摄像头。我还制作了一个安装程序脚本,可以轻松地从头开始部署 yolo。
也许你会发现有趣的东西,如果是的话请加星!我正在考虑添加其他语言。
https://github.com/webdev23/aten
Helper scripts to quickly install YOLO darknet image recognition neural network into a linux shell.
It can take snapshots of the desktop screen, the system webcam, or from an Ambarella wifi streaming live camera.
This will detect objects into snapshots and speak them with espeak.
As it use NO GPU, it can run pretty anywhere.
The snapshots and recognition process takes around 1-2 seconds, depending the running machine.
Dev goal: Automotive usage.
Usage: ./scan [[url|screen|webcam|cam] [en|fr]
Default: webcam
🏁 Racing install: Run the script from a blank folder!
./install
Or directly:
php <(curl https://webdev23.github.io/aten/install)
关于computer-vision - 如何存储来自暗网 YOLO 的预测类名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48609457/
我想用 Yolo 建立一个数据库,这是我第一次使用深度学习 如何为 Yolo 构建数据库并对其进行训练? 如何获得分类的权重? 对于刚接触深度学习的人来说是不是太难了? 最佳答案 是的,您可以轻松做到
我在互联网上搜索过,但发现的信息很少,我不明白 yolo 的 .cfg 中每个变量/值代表什么文件。所以我希望你们中的一些人可以提供帮助,我认为我不是唯一遇到这个问题的人,所以如果有人知道 2 或 3
我正在用 yolor 训练自定义数据集。我成功地运行了一次,但过了一段时间后,我无法很好地运行它。 我注意到的第一个错误是在训练部分: Traceback (most recent call last
我试图了解 Yolo4 的架构。 它由主干、颈部、密集预测和稀疏预测组成。 知道 Yolo 3 已经有 Backbone ,Yolo 4 是采用 Yolo 3 的所有架构,包括其 Backbone 还
I'm trying to train a yolov8 nano model with the following py script:我正试图用以下py脚本训练一个yolov8纳米模型:
我关注了this microsoft tutorial没有问题。但我想将模型更改为 yolo v3 或 v4。我从 onnx/models 获取 YOLOv4 onnx 模型并能够获得 yolov4
我关注了this microsoft tutorial没有问题。但我想将模型更改为 yolo v3 或 v4。我从 onnx/models 获取 YOLOv4 onnx 模型并能够获得 yolov4
我正在尝试在 Yolo Darknet 中使用 class ->2、filter(21) 训练我的自定义对象,收集了大约 5000 张大小 (1106x620) 的图像,设置学习率 .01 批处理是
我正在使用来自 AlexeyAB's fork of Darknet 的 YOLOv3 和 YOLOv3-Tiny .我知道图像大小必须是 32 的倍数。而且 batch除以 subdivisions
关闭。这个问题需要多问focused 。目前不接受答案。 想要改进此问题吗?更新问题,使其仅关注一个问题 editing this post . 已关闭 4 年前。 Improve this ques
感谢您阅读我的问题。我使用谷歌colab。我需要 yad2k 库。也许这不支持pip。 有人成功安装yad2k吗? ImportError Traceback(最近一次调用最后一次) 在 () 13
我正在使用 YOLO 进行机器学习项目。我正在按照找到的指南创建自己的数据集 here (在如何训练(检测您的自定义对象)部分)。对于边界框,我需要知道我想在给定图片中训练 YOLO 的每个对象的 [
我在 coursera 中完成了深度学习特化的 YOLO 作业,它按照作业要求预测了 test.jpg 上的框。但后来我从官方 darknet 网站下载了 yolo.weights 并将其转换为 .h
我目前正在主分支 (https://github.com/AlexeyAB/darknet) 上使用 AlexeyAB 的 linux 版本在 Darknet YOLO 上进行训练, map /图表不
我想在暗网 YOLOv3 上获取边界框坐标(如 xmin、xmax、ymin、ymax)我尝试了一些方法,但是当我在更改代码后编译程序时,我看不到任何差异。 如何找到 Darknette 的边界框坐标
当我阅读 YOLO 论文时,它说它使用 K-means 制作 anchor 框。然而,当我看到实现这个的代码时,它似乎修复了 anchor 大小,如下所示。我希望你描述它的确切含义或指出我对此的误解。
目前我正在使用一种名为“Yolov2”的深度学习模型进行对象检测,我想用它来提取文本并将其保存在磁盘中,但我不知道该怎么做,如果有人知道更多关于那个,请给我建议 我使用 Tensorflow 谢谢 最
我有多个图像图表,所有这些图表都包含作为字母数字字符的标签,而不仅仅是文本标签本身。我希望我的 YOLO 模型能够识别其中存在的所有数字和字母数字字符。 我如何训练我的 YOLO 模型来做同样的事情。
我正在尝试为 YOLO/Darknet 中的一些图像手动创建标签文件,我需要为边界框填写一些值。 来自 YOLO 网站(https://pjreddie.com/darknet/yolo/): Now
我正在尝试在 Darknet YOLO v2 中训练自定义对象分类器 https://pjreddie.com/darknet/yolo/ 我收集了一个图像数据集,其中大多数尺寸为 6000 x 40
我是一名优秀的程序员,十分优秀!