The Wayback Machine - https://web.archive.org/web/20200615122800/https://github.com/topics/yolo3
Skip to content
#

yolo3

Here are 19 public repositories matching this topic...

piaobuliao
piaobuliao commented Aug 23, 2018

我参考这个链接,yolov3-tiny.weights的这个模型用OpenCV的dnn是调用起来了的
https://github.com/spmallick/learnopencv/blob/master/ObjectDetection-YOLO/object_detection_yolo.cpp
但是直接替换模型路径为text.weights的输出不了文字区域坐标哦,反正前向传播是完成了的,net.forward(outs, getOutputsNames(net));就是没结果啊 不知道为啥。
还有请问下你的text.weights的直接输出不是文字外接矩吗?看你的代码的detector里面好像做了很多后处理啊,能稍微解释下整个流程吗?(yolov3的text.weights输出是什么,具体后面要做什么才能获得检测的文字的外接矩)

我看你的text_detect 有好多参

jishanshanss
jishanshanss commented Apr 26, 2020

original code :

img = ori_img.astype(np.float)/255.
img = cv2.resize(img, self.size)
img = torch.from_numpy(img).float().permute(2,0,1).unsqueeze(0)
img = img.to(self.device)
with torch.no_grad():
            out_boxes = self.net(img)

I suggest using:

from PIL import Image
from torch.utils.data import DataLoader
from torchvision import datasets, transforms
from torch.au

Improve this page

Add a description, image, and links to the yolo3 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the yolo3 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.