Comments (7)
Hi, @mtsakaguchi
"The image is blank" do you mean you got a complete white/black image or you did not get an image at all?
If you did not get an image, that might be related to a bug I already fixed. If the image is purely white/black, that is an issue I am not aware of.
Another thing you can try is using the UE4 built-in command shot
to take a screenshot.
from unrealcv.
Thanks for the response.
When I say "the image is blank" I mean that the saved .png file is a complete white image.
I was able to try the shot
command that you mentioned and if I switch to /viewmode object_mask and take a screen shot the .png file shows the bicycles as colored objects.
Ideally I would like to create a dataset using a script like the example "generate_images.py" that is provided with unrealcv with /viewmode lit images and /viewmode object_mask images.
from unrealcv.
Hi @mtsakaguchi
To be honest, I have no idea what went wrong. I add a new command vrun
in v0.3.0, which enables you to run any UE4 command through UnrealCV. So you can use vrun shot
as a workaround.
I know this is far from ideal and I want to know how to fix this issue. But I need more details to figure out what went wrong.
from unrealcv.
Hi @qiuwch ,
first, thanks for your great work!
where can I find the fix for the object_mask image? when i try to dump it, the view mode switches to object_mask but no file is created. for other modes (lit, normal, etc.) everything works fine.
thank you,
Tania
from unrealcv.
Hi @qiuwch ,
I also met this problem!
When I use 'vget /camera/0/object_mask', I got a white picture. However, I can do 'vset /viewmode object_mask' successfully.
Thanks!
from unrealcv.
I have the same issue as @jason718 and @taniajtaniaj
I get a black picture when I use vget /camera/0/object_mask
Has there been a fix on this yet?
from unrealcv.
Hi!
First, thank you for the great work!
I'm also having issues with object_mask, already on the first tutorial. When I'm running demo.py, everything works fine, except for the object mask image, which is not even created. I dot the following output:
INFO:__init__:205:Got connection confirm: u'connected to RealisticRendering' Image is saved to C:/Users/mate/Documents/rendering_demo/WindowsNoEditor/RealisticRendering/Binaries/Win64/00000001.png normal is saved to C:/Users/mate/Documents/rendering_demo/WindowsNoEditor/RealisticRendering/Binaries/Win64/00000002.png object_mask is saved to C:/Users/mate/Documents/rendering_demo/WindowsNoEditor/RealisticRendering/Binaries/Win64 depth is saved to C:/Users/mate/Documents/rendering_demo/WindowsNoEditor/RealisticRendering/Binaries/Win64/depth.exr
On the other hand, the camera in the game is in object_mask mode, as if vset was used instead of vget.
from unrealcv.
Related Issues (20)
- The difference in pixel value in the screen shot.
- Build failed for UE4.27 HOT 7
- Can't Build for UE4.27 HOT 1
- How to get command output from Unreal - Bone locations
- Can't open the terminal in UnrealCV
- Problems detecting the position of the cameras, using Unreal engine 4.27 HOT 1
- Lighting needs to be rebuilt
- Assertion Error When Launching a Packaged Game for PlayerController
- Reflection Material Reflects Annotation in Lit Mode
- How to convert the depth into disparity? HOT 5
- New viewmode for albedo
- Dynamic camera position not reflecting HOT 1
- Getting vertex position of skeletal mesh HOT 2
- Can't Build for UE4.27 on Ubuntu HOT 1
- What are the internal parameters of FunsionCamSensor HOT 1
- Unrecognized image file extension for "npy" HOT 1
- 无法连接到('localhost', 9000) HOT 4
- deadlock of Euler Angle
- error Can not find a handler for URI 'vget /camera/0/lit' HOT 2
- Can you add support for Unreal Engine 5.3 or higher? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unrealcv.