isl-org / isl-org/Open3D

FPFH descriptor and Deep Learning Using Tensorflow

Open
#2,659 1 comment 1 reaction 0 assignees View on GitHub
documentation geometry ml
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

Hi guys, I'm sorry for the inconvenience. I would like to understand how to use open3D codes with tensorflow. Can anybody help me? An example below:
```
def fpfh(vector):
lf = []
x,bat=vector
for LF in range(bat):
Cloud=x[LF]
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(Cloud)
#np.asarray(pcd.points)
voxel_size = 0.05 # means 5cm for the dataset
radius_normal = voxel_size * 2
pcd.estimate_normals(o3d.geometry.KDTreeSearchParamHybrid(radius=radius_normal, max_nn=30))
radius_feature = voxel_size * 5
pcd_fpfh = o3d.pipelines.registration.compute_fpfh_feature(pcd,o3d.geometry.KDTreeSearchParamHybrid(radius=radius_feature, max_nn=100))
localfeature = pcd_fpfh.data
localfeature = StandardScaler().fit_transform(localfeature)
localfeature = localfeature.T
lf.append(localfeature)
xlf=np.array(lf)
return xlf

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.