yolo

YOLO Annotation Files for Already-Cropped Images

此生再无相见时 提交于 2021-02-20 05:15:06
问题 I'm attempting to create my own dataset for use with YOLO (You Only Look Once). Initially, I started with a large geotiff file that had pictures of landscape and animals. I was able to write a script to extract the images of the animals into separate files. I'm now at a point where I'd like to use those animal images as part of a YOLO dataset. However, all of the examples I've seen online utilize annotation files, which denote the location of an object-to-be-detected within a larger image. In

Detect missing objects in a video

蓝咒 提交于 2021-02-11 12:07:00
问题 I was wondering how can a missing object be detected using something similar to YOLO? Let's say I have the first video capturing a smartphone, keys and a passport. Then I have another video capturing the smartphone and keys only, is it possible to put up a warning stating that there is an object missing? 回答1: Yes. If you are using the python version of AlexeyAB darknet, you can see all the detections in this line: https://github.com/AlexeyAB/darknet/blob/master/darknet_video.py#L81 Then

Anchor boxes in yoloV3

假装没事ソ 提交于 2021-02-11 05:53:52
问题 We're struggling to get our Yolov3 working for a 2 class detection problem (the size of the objects of both classes are varying and similar, generally small, and the size itself does not help differentiating the object type). We think that the training is not working due to some problem with the anchor boxes, since we can clearly see that depending on the assigned anchor values the yolo_output_0, yolo_output_1 or yolo_output_2 fail to return a loss value different to 0 (for xy, hw and class

Can hololens do object detection? Or how to use YOLO/tensorflow/tesseract in Hololens

丶灬走出姿态 提交于 2021-02-10 10:59:22
问题 I'm testing some function in Hololens. Want to know whether it is possible to use any of object detection/text recognition in Hololens? 回答1: Here's a great blog post by one of my fellow Microsoft MVPs... :) "Labeling Toy Aircraft in 3D space using an ONNX model and Windows ML on a HoloLens" Ping me if you hit any snags -- awesome stuff! http://dotnetbyexample.blogspot.com/2019/01/labeling-toy-aircraft-in-3d-space-using.html 回答2: Hololens 1 doesn't natively support object detection, you'll

Can hololens do object detection? Or how to use YOLO/tensorflow/tesseract in Hololens

五迷三道 提交于 2021-02-10 10:58:21
问题 I'm testing some function in Hololens. Want to know whether it is possible to use any of object detection/text recognition in Hololens? 回答1: Here's a great blog post by one of my fellow Microsoft MVPs... :) "Labeling Toy Aircraft in 3D space using an ONNX model and Windows ML on a HoloLens" Ping me if you hit any snags -- awesome stuff! http://dotnetbyexample.blogspot.com/2019/01/labeling-toy-aircraft-in-3d-space-using.html 回答2: Hololens 1 doesn't natively support object detection, you'll

Can hololens do object detection? Or how to use YOLO/tensorflow/tesseract in Hololens

孤人 提交于 2021-02-10 10:57:46
问题 I'm testing some function in Hololens. Want to know whether it is possible to use any of object detection/text recognition in Hololens? 回答1: Here's a great blog post by one of my fellow Microsoft MVPs... :) "Labeling Toy Aircraft in 3D space using an ONNX model and Windows ML on a HoloLens" Ping me if you hit any snags -- awesome stuff! http://dotnetbyexample.blogspot.com/2019/01/labeling-toy-aircraft-in-3d-space-using.html 回答2: Hololens 1 doesn't natively support object detection, you'll

cannot reshape array of size 1665179 into shape (512,512,3,3)

断了今生、忘了曾经 提交于 2021-02-10 05:33:24
问题 The script used to do detection. Weight file was yolov4 coco pre-trained model and that can be found over here.(https://drive.google.com/file/d/1cewMfusmPjYWbrnuJRuKhPMwRe_b9PaT/view) import time from absl import app, flags, logging from absl.flags import FLAGS import core.utils as utils from core.yolov4 import YOLOv4, YOLOv3, YOLOv3_tiny, decode from PIL import Image from core.config import cfg import cv2 import numpy as np import tensorflow as tf flags.DEFINE_string('framework', 'tf', '(tf,

What does the coordinate output of yolo algorithm represent?

戏子无情 提交于 2021-02-08 05:16:57
问题 My question is similar to this topic. I was watching this lecture on bounding box prediction by Andrew Ng when I started thinking about output of yolo algorithm. Let's consider this example, We use 19x19 grids and only one receptive field with 2 classes, so our output will be => 19x19x1x5. The last dimension(array of size 5) represents the following: 1) The class (0 or 1) 2) X-coordinate 3) Y-coordinate 4) height of the bounding box 5) Width of the bounding box I don't understand whether X,Y

Understanding darknet's yolo.cfg config files

十年热恋 提交于 2021-02-05 12:55:16
问题 I have searched around the internet but found very little information around this, I don't understand what each variable/value represents in yolo's .cfg files. So I was hoping some of you could help, I don't think I'm the only one having this problem, so if anyone knows 2 or 3 variables please post them so that people who needs such info in the future might find them. The main one that I'd like to know are : batch subdivisions decay momentum channels filters activation 回答1: Here is my current

Unable to convert YOLOv4 to tflite

时间秒杀一切 提交于 2021-01-29 09:23:56
问题 I'm trying to use yolo4 in my android project but I'm having problems with conversion. The code from: https://pypi.org/project/yolov4/ has worked well on Google-Colab , though it had some problem with my CUDA version on Jupyter notebook. I got conversion error from: yolo.save_as_tflite("yolov4.tflite") Error was long and I am not sure which part I should paste here. Can someone recommend some alternative method to convert tflite version of yolo4 (preferably working on colab )? 回答1: If you