Project Tango: vrmesh file format? - intel

The Project Tango Constructor is able to save objects in the .obj file format. Is it possible to also have it save objects in the .vrmesh file format? Or is there another program available that would allow me to render and save real-world objects using the Intel RealSense 3D camera as .vrmesh files?
Many thanks

As of now, using the tango constructor app, you can only save in .srb format but you can export your mesh later to .obj and .ply

Related

Is there any way to save local and global descriptors as txt instead of pcd in Point Cloud Library?

I have used this script to generate local and global descriptors from a point cloud. The script lets you save the descriptors in PCD format (line 105 of the script) but I'm having trouble loading the pcd files in Python to train a model [Opened a discussion here].
I'm thinking of an alternative. Does anyone know a way to save the descriptors as a txt file instead of pcd? Thanks!
#IBitMyBytes Thanks for the reply. I just saved it in default PCD format in PCL and then read it like a text file in Python and removed the headers.

How do I draw a mesh loaded from .obj(wavefront) file in qt3d by reading file myself?

The example code(comes with the Qt creator tool) for loading a wireframe mesh from .obj files in Qt3D draws this elephant (which I found in a site that peddled digital assets).
The question is I want to open the .obj files using my own code and form a geometry. I have code to open .obj file and form triangles. All I want to know is how shall I write the C++ part to populate the geometry.
Like I want to know how to structure the C++ code.
Here is the code that I have to read obj file.
Well for those of you wondering about the same thing I found a github repo that creates a geometry in C++ by reading an OBJ model and rendering it in a Qt3D context.
It is a simple process if you think about it.
First you need to Create a Qt3DRender::QGeometry based object.
class ModelGeometry : public Qt3DRender::QGeometry
{
public:
ModelGeometry(){
}
Then you need to add attributes like points, triangles and normals to it using
auto attribute = new Qt3DRender::QAttribute(parent);
and then adding the attributes to the geometry.
The entire process is illustrated in the repo here: https://github.com/bmkamath2000/Qt3DExamples
After running this repo with the example OBJ file containing the elephant I have got it to draw as expected:
Thanks A Lot!!!

unable to perform OCR on tiff and jpeg files

I am referring to " https://github.com/keensoft/alfresco-simple-ocr" to perform OCR on tiff and jpeg files but is saying "Couldn't find trailer dictionary","Couldn't read xref table"," exception Failure("Error: pdfinfo could not determine number of pages. Check the pdf input file.\n")" although the transformation from jpeg or tiff files to PDF files is working properly and the PDF file is visible on the alfresco share page" but no OCR is working on those tiff and jpeg files
Basically there are many tools which are used for performing the OCR on pdf files.It depends on the tool as well.There is one bug in alfresco.It is an library issue.Below are details of that.
Create file called transformation.sh and before adding your command in it you have to add below line in it.If you are using windows you need to create batch file accordingly.
unset LD_LIBRARY_PATH
If you are not setting above in the script file you will face an error while conversation.You can find that bug details on below link of alfresco.Its registered issue in alfresco.
https://issues.alfresco.com/jira/browse/ALF-19946
PDF to PDF conversation are very well explained in below link.
http://www.krutikjayswal.com/2016/07/ocr-on-pdf-file-in-alfresco.html
You might need to change the source code for tiff conversation.

How do I create a 3D printable stl file?

Ok, I finally have a good sketch of a teacup I want to 3D print. The next step is to export the sketch to a 3D printable stl file. I have tried using CADspan Pro (which crashes when I click "process" at the resurfacing step) and a skp_to_dxf.rb plugin (which does export an extension-less file (I am assuming a stl), a file which does not validate when I upload it to Shapeways or Ponoko) but with no luck.
So my question is this, how do I create a high resolution 3D printable stl file from my existing skp file? Here is my skp file.
There's an open source project from SketchUp with and import and export function for STL: https://github.com/SketchUp/sketchup-stl/
(Note, the "latest and greatest is available" which the readme claims, isn't - the source has many changes and fixes.)

Converting .obj file to .sdkmesh using MeshConvert tool

DirectX SDK provides a utility that converts .x or .obj file to .sdkmesh, its called meshconvert tool.
But, I tried many times and its not working.
It shows this message "Cannot Load specified input file"
(I input a .obj file named samp.obj and typed "meshconvert /sdkmesh samp.obj".)
Can anyone please help me solve it?
P.S. I'm on windows 7 and inputting the above command in DirectXSDK Command prompt.
Thanks in advance!
I have read that the .obj file type listed by MeshConvert.exe refers to a binary form of .x, not the popular Wavefront Object Model format. I'm still looking for a way to do this myself.

Resources