|
68 | 68 | <a href="https://twitter.com/visual_layer" target="_blank" rel="noopener noreferrer"> |
69 | 69 | <img src="https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white" alt="Logo"> |
70 | 70 | </a> |
71 | | - <a href="https://www.youtube.com/@visual-layer4035" target="_blank" rel="noopener noreferrer"> |
| 71 | + <a href="https://www.youtube.com/@visual-layer" target="_blank" rel="noopener noreferrer"> |
72 | 72 | <img src="https://img.shields.io/badge/-YouTube-black.svg?style=for-the-badge&logo=youtube&colorB=red" alt="Logo"> |
73 | 73 | </a> |
74 | 74 | </p> |
@@ -164,18 +164,21 @@ Visualize the result. |
164 | 164 |
|
165 | 165 |  |
166 | 166 |
|
167 | | -Here are 8 lines of code you'll need in most cases. |
| 167 | +In short, you'll need 3 lines of code to run fastdup: |
168 | 168 |
|
169 | 169 | ```python |
170 | 170 | import fastdup |
171 | | - |
172 | | -fd = fastdup.create(work_dir, images_dir) |
| 171 | +fd = fastdup.create("IMAGE_FOLDER/") |
173 | 172 | fd.run() |
| 173 | +``` |
| 174 | + |
| 175 | +And 5 lines of code to visualize issues: |
174 | 176 |
|
175 | | -fd.vis.duplicates_gallery() # create a visual gallery of found duplicates |
| 177 | +```python |
| 178 | +fd.vis.duplicates_gallery() # create a visual gallery of duplicates |
176 | 179 | fd.vis.outliers_gallery() # create a visual gallery of anomalies |
177 | 180 | fd.vis.component_gallery() # create a visualization of connected components |
178 | | -fd.vis.stats_gallery() # create a visualization of images statistics (for example blur) |
| 181 | +fd.vis.stats_gallery() # create a visualization of images statistics (e.g. blur) |
179 | 182 | fd.vis.similarity_gallery() # create a gallery of similar images |
180 | 183 | ``` |
181 | 184 |
|
@@ -641,9 +644,11 @@ The following are community-contributed blog posts about fastdup - |
641 | 644 |  |
642 | 645 |
|
643 | 646 | ## License |
644 | | -fastdup is licensed under Creative Commons 4.0 license. |
| 647 | +fastdup is licensed under [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International](https://creativecommons.org/licenses/by-nc-nd/4.0/) Public License. |
| 648 | + |
645 | 649 | See [LICENSE](./LICENSE). |
646 | 650 |
|
| 651 | + |
647 | 652 | For any queries, reach us at [email protected] |
648 | 653 |
|
649 | 654 | ## Disclaimer |
|
0 commit comments