unrealcv / unrealcv

UnrealCV: Connecting Computer Vision to Unreal Engine
https://unrealcv.org
MIT License
1.86k stars 432 forks source link

Depth on UE4.25 is very incorrect #210

Closed half-potato closed 1 month ago

half-potato commented 3 years ago
antopost commented 3 years ago

Haven't experienced your problem, but it might be that images are being taken from the default camera actor which is just a ball. I had a related problem that was solved by using the fusion camera actor in UE. Check out this thread. The problems seem unrelated, but the solution should be the same.

Buffyqsf commented 12 months ago

But I can't find fusion camera actor in my UE 4.25, do you know why ?

zfw1226 commented 11 months ago

@Buffyqsf Have you correctly installed UnrealCV in your Editor? Maybe you can try the new commands to check it. For example, run vget /cameras to list all the cameras in the scene, and vset /objects/spawn FusionCameraActor Cam_1 to create a new Fusion Camera Actor named Cam_1.

Buffyqsf commented 11 months ago

@zfw1226 Actually I didn't installed UnrealCV in UE 4.25 successfully, there's a lot of mistakes when I built. I only get UnrealCV 0.3.10 in UE 4.16. Maybe this commands can't work on that, but thank you anyway, I'll try to install a higher version later when I have time. Thanks!

zfw1226 commented 11 months ago

@Buffyqsf You can try our newest branch 4.27-stable and the client v1.0.1. It should be easily installed on Windows and Linux.