[email protected] commited on
Commit
81a80cc
·
1 Parent(s): 0d29875

input images

Browse files
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  from skimage.metrics import structural_similarity as ssim
6
 
7
  # Folder containing your dataset of tiles (small images)
8
- DATASET_FOLDER = "D://NEU/5330/Lab-1/Dataset/"
9
 
10
  def compute_features(image):
11
  """
@@ -264,14 +264,14 @@ def mosaic_gradio(input_image, num_tiles_y, mosaic_type, progress=gr.Progress())
264
  # Adding examples so that test images appear as clickable examples.
265
  # Adjust the paths as needed.
266
  examples = [
267
- ["D:/NEU/5330/Lab-1/input_images/1.jpg", 90, "Image Mosaic"],
268
- ["D:/NEU/5330/Lab-1/input_images/2.jpg", 90, "Image Mosaic"],
269
- ["D:/NEU/5330/Lab-1/input_images/3.jpg", 90, "Image Mosaic"],
270
- ["D:/NEU/5330/Lab-1/input_images/6.jpg", 90, "Image Mosaic"],
271
- ["D:/NEU/5330/Lab-1/input_images/7.jpg", 90, "Image Mosaic"],
272
- ["D:/NEU/5330/Lab-1/input_images/8.jpg", 90, "Image Mosaic"],
273
- ["D:/NEU/5330/Lab-1/input_images/9.jpg", 90, "Image Mosaic"],
274
- ["D:/NEU/5330/Lab-1/input_images/10.jpg", 90, "Image Mosaic"]
275
  ]
276
 
277
  iface = gr.Interface(
 
5
  from skimage.metrics import structural_similarity as ssim
6
 
7
  # Folder containing your dataset of tiles (small images)
8
+ DATASET_FOLDER = "Dataset"
9
 
10
  def compute_features(image):
11
  """
 
264
  # Adding examples so that test images appear as clickable examples.
265
  # Adjust the paths as needed.
266
  examples = [
267
+ ["input_images/1.jpg", 90, "Image Mosaic"],
268
+ ["input_images/2.jpg", 90, "Image Mosaic"],
269
+ ["input_images/3.jpg", 90, "Image Mosaic"],
270
+ ["input_images/6.jpg", 90, "Image Mosaic"],
271
+ ["input_images/7.jpg", 90, "Image Mosaic"],
272
+ ["input_images/8.jpg", 90, "Image Mosaic"],
273
+ ["input_images/9.jpg", 90, "Image Mosaic"],
274
+ ["input_images/10.jpg", 90, "Image Mosaic"]
275
  ]
276
 
277
  iface = gr.Interface(
input_images/1.jpg ADDED

Git LFS Details

  • SHA256: c1711336b25cfb18a233c9798e6af91830aa9daa9a0448b81ef9dfbc0828f113
  • Pointer size: 130 Bytes
  • Size of remote file: 89.1 kB
input_images/10.jpg ADDED

Git LFS Details

  • SHA256: 56326f860fa03c4cabdc8e069bbdf8a332773cc2cce89492bb0c8810e3ea8d74
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
input_images/2.jpg ADDED

Git LFS Details

  • SHA256: e9f8c6effd744b687f11a26f50801aa083940c8805caf9e147b8df2d808aa3e1
  • Pointer size: 132 Bytes
  • Size of remote file: 1.16 MB
input_images/3.jpg ADDED

Git LFS Details

  • SHA256: 31573c4ef9392854e74d5fa8ba023228cb627d92a46801b7378abc72c3d191c7
  • Pointer size: 131 Bytes
  • Size of remote file: 505 kB
input_images/6.jpg ADDED

Git LFS Details

  • SHA256: 774e3ccd42322986fdb9cfadec411e6b0ab75d1da03375982bc3f4b0c7076a55
  • Pointer size: 132 Bytes
  • Size of remote file: 1.16 MB
input_images/7.jpg ADDED

Git LFS Details

  • SHA256: 67d18b37b472e9de126f0b12d1138e4b7b0332f1981983911de4770b88d6fcfc
  • Pointer size: 130 Bytes
  • Size of remote file: 19.4 kB
input_images/8.jpg ADDED

Git LFS Details

  • SHA256: 870ff577b3495147492a144391d03b0271e58813aa8b9fbb93b831ddc18b9ced
  • Pointer size: 131 Bytes
  • Size of remote file: 200 kB
input_images/9.jpg ADDED

Git LFS Details

  • SHA256: a46f522abc29d50399916ca1010515b1a841ab6c9dc6859c1fb5d8e32b1e1a12
  • Pointer size: 131 Bytes
  • Size of remote file: 338 kB