Comments (11)
Hi @rajshekarreddy97, right now there is no control over the number of images or captures in each JSON file. How will it help you to have different json files for each image?
from com.unity.perception.
Hi @JonathanHUnity If we want to create a dataset for training a CNN based object detection model, we need label for each instance of training classes exist in the image. The model search for(image_name.jpeg,image_name.json). In that case, we need individual json file for images. Thank you!
from com.unity.perception.
It sounds like your model has a specific format of json that it needs to take as input. I would suggest looking at our Dataset Insights python library, which gives examples of how to load the dataset generated from Unity into python and translate it into a form needed to train the Faster R-CNN model.
In the end, we expect that some amount of data transformation will be required to take the output from Unity and train a model, depending on the specific model you are working with.
from com.unity.perception.
Thank you @JonathanHUnity for reply. I would like to clarify our problem better way. Here our problem is not to get json file in a specific format, but individual json file for each image. Currently @rajshekarreddy97 is able to generate one single json file for a sequence of images where json containing bounding box location of each object of interest. I was wondering Instead if we are able to get same data but in different different json files. Thank you in advanced.
from com.unity.perception.
This is not something we have at the moment. If you would like to fork our package, you can find the control for the method we use to split files here: https://github.com/Unity-Technologies/com.unity.perception/blob/master/com.unity.perception/Runtime/GroundTruth/SimulationState.cs#L71
I've also added public control over this value to our list. Hope that helps!
from com.unity.perception.
@abhishek1222017
There was a proposal in #19 to change dataset schema so that each annotation are stored as separate json file for each capture. Do you think this is close to what you expect?
from com.unity.perception.
@adason Yes, this is exactly what we were looking for.
from com.unity.perception.
Hi @adason
I had a similar requirement and I did it.
Please find the link to the repository: https://github.com/Gowtham171996/ConvertUnityPerceptionJSONtoPascalPOCFormat
from com.unity.perception.
@abhishek1222017
There was a proposal in #19 to change dataset schema so that each annotation are stored as separate json file for each capture. Do you think this is close to what you expect?
Hello adason, I am working on Unity Perception to generate dataset for semantic segmentation and I want single json annotation file along with maks for each image. I saw the commit that you mentioned but I am not sure how can I use it? A little guidance will be quite helpful. Thanks
from com.unity.perception.
If you derive a class from FixedLengthScenario.cs, you can hook you to the onDestroy() method and add a custom transformation for the captures.json file.
JObject.Parse(File.ReadAllText(captureFilePath));
foreach (JObject jsonCaptureData in jsonCaptureDataArray)
{
JArray jsonAnnotationDataArray = jsonCaptureData.Value<JArray>("annotations");
...
from com.unity.perception.
Hey all! The Perception team just released 🎉 Perception 1.0 🎉, a major update to the toolset! In this release we have added the SOLO format, our new dataset that departs in several ways from the previous output format. This includes a single capture file and artifacts for each frame.
There are a bunch of cool features to check out such as ray tracing, depth, normals, and more! Here is the full list of changes: Perception 1.0 Changelog
from com.unity.perception.
Related Issues (20)
- Running in
- Exporting on a different resolution (Builds) HOT 1
- Human Pose Labeling Tutorial: No rig section when selecting all assets under Models and Animations
- No camera intrinsics in any of the .json output files
- Camera id
- Depth images in PNG HOT 1
- Perception camera RequestCapture throws Vulkan framebuffer attachment missing error when -runTest uses -batchmode
- Question: Project activity and roadmap HOT 1
- Question: Z option for ForegroundObjectPlacementRandomizer HOT 1
- Inquiry about the Perception Package's Current Status and Future Updates HOT 1
- Failed to get visualizer process ID after lauch
- Running on AWS cloud
- Visualizing Perception datasets with fiftyone HOT 1
- Blurry foreground object HOT 4
- Black Camera Issue HOT 5
- Support IK enabled and AvatarMasks for Animation Randomizer
- Occlusion Labeler for Fisheye Cameras?
- Unity Perception: Semantic Segmentation not capturing whole object
- No depth found HOT 3
- how to add perception camera?
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 com.unity.perception.