Hopefully fixed readme, fixed dpi scaling.
This commit is contained in:
@ -47,6 +47,9 @@ There are two ways to enter filter series
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Comparison
|
# Comparison
|
||||||
|
|
||||||
|
Image before processing the fingerprint and after it.
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<th>Before</th>
|
<th>Before</th>
|
||||||
@ -58,6 +61,10 @@ There are two ways to enter filter series
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
# Generated STL model
|
||||||
|
|
||||||
|
TODO
|
||||||
|
|
||||||
# Roadmap
|
# Roadmap
|
||||||
|
|
||||||
- [x] Load and store image
|
- [x] Load and store image
|
||||||
|
@ -47,8 +47,8 @@ class apply_filters:
|
|||||||
self.height = self.img.shape[0]
|
self.height = self.img.shape[0]
|
||||||
print(self.width, self.height)
|
print(self.width, self.height)
|
||||||
|
|
||||||
fig = plt.figure(figsize = (self.width/self.dpi, self.height/self.dpi),
|
fig = plt.figure(figsize = (self.width, self.height),
|
||||||
frameon = False, dpi = self.dpi)
|
frameon = False, dpi = self.dpi / 100) # dpi is in cm
|
||||||
|
|
||||||
ax = plt.Axes(fig, [0., 0., 1., 1.])
|
ax = plt.Axes(fig, [0., 0., 1., 1.])
|
||||||
ax.set_axis_off()
|
ax.set_axis_off()
|
||||||
|
Reference in New Issue
Block a user