SCRIPTS

Python Code to Convert a list of Images to PDF

In this post a python code is presented to get a list of images from a directory and convert them to a PDF.

The code utilizes the os and the fpdf library. PyFPDF is a library for PDF document generation under Python, ported from PHP.

The code gets the file names of images in the current directory and then creates a PDF of constant width.

import os
from fpdf import FPDF


pdf = FPDF()
pdf.set_auto_page_break(0)

files = os.listdir()

for file in files:
    if file.endswith(('.jpg', '.png', 'jpeg')):
        pdf.add_page()
        pdf.image(file, x = None, y = None, w = 180, h = 0, type = '', link = '')

pdf.output('image2pdf.pdf', 'F')

Φωτογραμμετρία

Stereo Camera System development for no contact measurements

A camera system was designed and developed in order to measure additional details in surveying works such as windows, doors heights of buildings or even larger and more complicated environments.

Συνέχεια ανάγνωσης «Stereo Camera System development for no contact measurements»
Τοπογραφία

Low Cost Mapping with DJI Mini 2

In this post we propose a method to perform low cost mapping with DJI Mini 2 drone using free tools in order to create missions or flying over waypoints. Recently a number of drone applications have included in their supported drones the DJI Mini 2. Thus, it is straightforward to create a flight plan with waypoints in order to map an area of interest such as a road or a river triggering the camera using the intervalometer every 2 or 3 seconds according to flying speed of the drone.

Συνέχεια ανάγνωσης «Low Cost Mapping with DJI Mini 2»
Τοπογραφία

Γεω-Ευρετήριο αεροφωτογραφιών drone στην Π.Ε. Ιωαννίνων

Δημιουργήθηκε το γεω-ευρετήριο απο αεροφωτογραφίες drone για την Π.Ε. Ιωαννίνων. Το γεωευρετήριο αναπτύσεται και ενημερώνεται καθημερινά με αεροφωτογραφίες από διάφορα drones όπως: Phantom 4 pro V2, Parrot Anafi, Autel Evo II RTK, μέχρι ακόμα και από το DJI mini 2.

Συνέχεια ανάγνωσης «Γεω-Ευρετήριο αεροφωτογραφιών drone στην Π.Ε. Ιωαννίνων»
Τοπογραφία, κτηματολόγιο

Εξαγωγή Hash Code απο DXF και δημιουργία PDF

Σε αυτό το άρθρο παρουσιάζονται εργαλεία για την εξαγωγή Hash Code απο DXF και δημιουργία PDF για την ψηφιακή υπογραφή των τοπογραφικών διαγραμμάτων που υποβάλλονται ηλεκτρονικά.

Συνέχεια ανάγνωσης «Εξαγωγή Hash Code απο DXF και δημιουργία PDF»
Φωτογραμμετρία, Φωτοερμηνεία

ΤΕΧΝΙΚΗ ΕΚΘΕΣΗ ΦΩΤΟΕΡΜΗΝΕΙΑΣ – ΠΕΡΑΜΑ ΙΩΑΝΝΙΝΑ

Σκοπός τη παρούσας τεχνικής έκθεσης φωτοερμηνείας είναι να αποδειχθεί η ύπαρξη κτιρίου προ του ετους 1955. Για το λόγο αυτό χρησιμοποιήθηκαν αεροφωτογραφίες της Γεωγραφικής Υπηρεσίας Στρατού (Γ.Υ.Σ.) από το έτος 1945 και άλλα επικουρικά δεδομένα. Τα γεωγραφικά δεδομένα που αξιοποιηθηκαν για τη μελέτη είναι:

Συνέχεια ανάγνωσης «ΤΕΧΝΙΚΗ ΕΚΘΕΣΗ ΦΩΤΟΕΡΜΗΝΕΙΑΣ – ΠΕΡΑΜΑ ΙΩΑΝΝΙΝΑ»