提交 88c77a97 编写于 作者: C chenjian

modify according to revew

上级 fe82b0e7
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
- ### 应用效果展示 - ### 应用效果展示
- 样例结果示例: - 样例结果示例:
<p align="center"> <p align="center">
<img src="https://user-images.githubusercontent.com/22424850/142995574-6d8b6a01-a3fa-4b4a-8658-233acc9abe62.jpg" width = "450" height = "300" hspace='10'/> <img src="https://user-images.githubusercontent.com/22424850/157190651-595b6964-97c5-4b0b-ac0a-c30c8520a972.png" width = "450" hspace='10'/>
<br /> <br />
输入原图像 输入原图像
<br /> <br />
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<br /> <br />
输入参考图像 输入参考图像
<br /> <br />
<img src="https://user-images.githubusercontent.com/22424850/142995812-07ad88f8-cec7-4585-ac9d-6bfd22a2e074.png" width = "450" height = "300" hspace='10'/> <img src="https://user-images.githubusercontent.com/22424850/157205282-89c9ace9-5fec-4112-ace1-edaebbfc30f8.png" width = "450" hspace='10'/>
<br /> <br />
输出图像 输出图像
<br /> <br />
......
...@@ -126,10 +126,7 @@ class PRN: ...@@ -126,10 +126,7 @@ class PRN:
image = image / 255. image = image / 255.
cropped_image = warp(image, tform.inverse, output_shape=(self.resolution_inp, self.resolution_inp)) cropped_image = warp(image, tform.inverse, output_shape=(self.resolution_inp, self.resolution_inp))
# run our net
#st = time()
cropped_pos = self.net_forward(cropped_image) cropped_pos = self.net_forward(cropped_image)
#print 'net time:', time() - st
# restore # restore
cropped_vertices = np.reshape(cropped_pos, [-1, 3]).T cropped_vertices = np.reshape(cropped_pos, [-1, 3]).T
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册