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 cv2 | |
import sys | |
import math | |
import numpy as np | |
from matplotlib import pyplot as plt | |
def main(): | |
print("OpenCV Version: " + str(cv2.__version__) + "\n") |
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 cv2 | |
import sys | |
import math | |
import numpy as np | |
from matplotlib import pyplot as plt | |
def main(): | |
print("OpenCV Version: " + str(cv2.__version__) + "\n") |
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
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
from tensorflow.examples.tutorials.mnist import input_data | |
import tensorflow as tf | |
# Mnistに使うデータセットをインポートする | |
mnist = input_data.read_data_sets('/tmp/tensorflow/mnist/input_data', |
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 cv2 | |
import sys | |
import math | |
import numpy as np | |
from matplotlib import pyplot as plt | |
def main(): | |
print("OpenCV Version: " + str(cv2.__version__) + "\n") |
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 open3d as o3d | |
import numpy as np | |
if __name__ == "__main__": | |
# Loading mesh data | |
print("Loading mesh data") | |
Mesh = o3d.io.read_triangle_mesh("bunny.ply") | |
# Calculation of normal vector |
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 open3d as o3d | |
import numpy as np | |
if __name__ == "__main__": | |
# Loading mesh data | |
print("Loading mesh data") | |
Mesh = o3d.io.read_triangle_mesh("bunny.ply") | |
# Confirmation |
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 open3d as o3d | |
import numpy as np | |
if __name__ == "__main__": | |
# Loading point cloud | |
print("Loading point cloud") | |
ptCloud = o3d.io.read_point_cloud("G-PCD\dragon.ply") | |
# Normal estimation |
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 numpy as np | |
import open3d as o3d | |
if __name__ == "__main__": | |
# Loading point cloud | |
print("Loading point cloud") | |
ptCloud = o3d.io.read_point_cloud("G-PCD\dragon.ply") | |
# Estimation of normal vector of points |
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 cv2 | |
import sys | |
def main(): | |
print("OpenCV Version: " + str(cv2.__version__) + "\n") | |
# Loading image data (COLOR) | |
filename1 = "data/gt_image.png" | |
filename2 = "data/noisy_image.png" |
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 numpy as np | |
import cv2 | |
import sys | |
def main(): | |
print("OpenCV Version: " + str(cv2.__version__) + "\n") | |
# Loading image data (COLOR) | |
filename = "data/lenna.png" |