This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import open3d as o3d | |
import numpy as np | |
from typing import Union | |
from open3d.open3d.geometry import PointCloud | |
def read_pcd(path: str) -> np.ndarray: | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psycopg2 | |
import re | |
def connect(): | |
""" | |
Function to connect to the server | |
NOTE: this, as it is, works only on my machine. You need to insert your own connection data | |
:return: psycopg2 'connection' object to the university server | |
:rtype: psycopg2 'connection' object |