stevenbucaille commited on
Commit
e0fe93e
1 Parent(s): 0cc37ec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -81,9 +81,9 @@ from transformers import AutoImageProcessor, AutoModel
81
  import torch
82
  from PIL import Image
83
  import requests
84
- url = "https://github.com/magicleap/SuperGluePretrainedNetwork/blob/master/assets/phototourism_sample_images/london_bridge_78916675_4568141288.jpg?raw=true"
85
  im1 = Image.open(requests.get(url, stream=True).raw)
86
- url = "https://github.com/magicleap/SuperGluePretrainedNetwork/blob/master/assets/phototourism_sample_images/london_bridge_19481797_2295892421.jpg?raw=true"
87
  im2 = Image.open(requests.get(url, stream=True).raw)
88
  images = [im1, im2]
89
  processor = AutoImageProcessor.from_pretrained("stevenbucaille/superglue_outdoor")
@@ -100,9 +100,9 @@ from transformers import AutoImageProcessor, AutoModel
100
  import torch
101
  from PIL import Image
102
  import requests
103
- url_image_1 = "https://github.com/cvg/LightGlue/blob/main/assets/sacre_coeur1.jpg?raw=true"
104
  image_1 = Image.open(requests.get(url_image_1, stream=True).raw)
105
- url_image_2 = "https://github.com/cvg/LightGlue/blob/main/assets/sacre_coeur2.jpg?raw=true"
106
  image_2 = Image.open(requests.get(url_image_2, stream=True).raw)
107
  images = [image_1, image_2]
108
  processor = AutoImageProcessor.from_pretrained("stevenbucaille/superglue_indoor")
 
81
  import torch
82
  from PIL import Image
83
  import requests
84
+ url = "https://raw.githubusercontent.com/magicleap/SuperGluePretrainedNetwork/refs/heads/master/assets/phototourism_sample_images/united_states_capitol_98169888_3347710852.jpg"
85
  im1 = Image.open(requests.get(url, stream=True).raw)
86
+ url = "https://raw.githubusercontent.com/magicleap/SuperGluePretrainedNetwork/refs/heads/master/assets/phototourism_sample_images/united_states_capitol_26757027_6717084061.jpg"
87
  im2 = Image.open(requests.get(url, stream=True).raw)
88
  images = [im1, im2]
89
  processor = AutoImageProcessor.from_pretrained("stevenbucaille/superglue_outdoor")
 
100
  import torch
101
  from PIL import Image
102
  import requests
103
+ url_image_1 = "https://raw.githubusercontent.com/magicleap/SuperGluePretrainedNetwork/refs/heads/master/assets/phototourism_sample_images/united_states_capitol_98169888_3347710852.jpg"
104
  image_1 = Image.open(requests.get(url_image_1, stream=True).raw)
105
+ url_image_2 = "https://raw.githubusercontent.com/magicleap/SuperGluePretrainedNetwork/refs/heads/master/assets/phototourism_sample_images/united_states_capitol_26757027_6717084061.jpg"
106
  image_2 = Image.open(requests.get(url_image_2, stream=True).raw)
107
  images = [image_1, image_2]
108
  processor = AutoImageProcessor.from_pretrained("stevenbucaille/superglue_indoor")