Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么box是两个对角坐标,而不是四个角点坐标呢? #22

Open
tsing-cv opened this issue May 29, 2018 · 5 comments
Open

Comments

@tsing-cv
Copy link

tsing-cv commented May 29, 2018

                xs = oriented_box.reshape(4, 2)[:, 0]                
                ys = oriented_box.reshape(4, 2)[:, 1]
                xmin = xs.min()
                xmax = xs.max()
                ymin = ys.min()
                ymax = ys.max()
                bboxes.append([xmin, ymin, xmax, ymax])

@dengdan

@wanghuok
Copy link

@tsing-cv 你好,请问你在某个issue里面提到用模型进行测试的时候,测试结果没有画出框,只是颜色改变了,请问你后来如何解决的?

@tsing-cv
Copy link
Author

@wanghuok 颜色通道问题,把BGR变成RGB通道即可

@pomelo93
Copy link

pomelo93 commented Dec 2, 2018

@wanghuok 颜色通道问题,把BGR变成RGB通道即可

你好,请问在哪改通道啊?

@northeastsquare
Copy link

test_pixel_link_on_any_image.py
image_data = util.img.imread(file_path, rgb = True)

@northeastsquare
Copy link

@tsing-cv 我觉得是,有两个变量bboxes, oriented_bboxes,第一个是存的矩形框,第二个是,四个角点坐标

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants