Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作摄影测量项目,我想让它实时工作。如果 pptk 无法做到这一点,也许您知道启用此类操作的库。
是的,如果您运行此代码,当您按下 "R" 时,点云将重新加载随机 1000 个 RGB 点。
import time import keyboard import pptk import numpy as np while True: if keyboard.is_pressed("r"): P = np.random.rand(1000, 3) # random RGB colors v.load(P,P[:,2]) time.sleep(0.1)