Parcourir la source

Use a cylindrical projection

Baptiste Jonglez il y a 10 ans
Parent
commit
db61f97571
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      panorama/tasks.py

+ 2 - 1
panorama/tasks.py

@@ -19,7 +19,8 @@ def generate_tiles(*args, **kwargs):
 
 @shared_task
 def pto_gen(output_pto, images):
-    subprocess.call(["pto_gen", "-o", output_pto] + images)
+    # Projection type 1 is cylindrical
+    subprocess.call(["pto_gen", "-p", "1", "-o", output_pto] + images)
     return output_pto
 
 @shared_task