I’m integrating the Autodesk Viewer API and I was following the tutorial at http://learnforge.autodesk.io. I’m currently working on the markups, using the MarkupsCore extension and am able to manipulate the different markup types.
What I’m trying to do is save in a mongoDB database the svg that I get when I do markup.generateData(), then display it whenever I want.
There's a blog about extracting and restoring the markups:
https://forge.autodesk.com/blog/using-autodeskviewingmarkupscore-extension
We don't exactly have a tutorial about persisting markups to mongoDB or any other data source but that process is similar to persisting any other JSON data from the browser to your backend. You can however find some pointers in our RCDB example:
https://github.com/Autodesk-Forge/forge-rcdb.nodejs/
Related
I'm currently working on creating a website for my college. I want to include a galary section on the page.
so through admin page, authorities can upload photos of special college events. Now my question is where to store those images. I have two options 1)storing in the Database using gridfs 2) storing in the api. I have done a lot of research on this topic but everyone saying it depends on the situation. What do you think the best option for this situation. I'm still new to server side programming, so please help me. I'm using nodejs with ejs and mongodb
I am trying to parse text from a PDF file using Computer Vision 2.0. I am following the example and have changed the MediaTypeHeaderValue to "application/pdf". I get an error that the content type is not supported. I change it to "multipart/form-data" and get an error in processing. How do I use Computer-Vision to process PDF files?
Kevin,
You are using the legacy "OCR" API that does not support PDF input. Please use the new OCR technology available as the "Read" API - see overview for processing PDF documents. The version 3.0 is in GA since May. Read supports large images and multi-page and mixed languages documents up to 2000 pages long.
Please see the Read REST API QuickStart in C#.
Note that Form Recognizer is great if you want to extract not just text, but layout insights such as tables, check-boxes, and key value pairs from forms, use pre-built models, and build custom models to process your documents. It's now in GA.
Take a look at the Form Recognizer service for extracting data from the PDF.
https://azure.microsoft.com/en-us/services/cognitive-services/form-recognizer/
I am new to backend programming. I am working on a personal Full stack project where I display all my art works. These art works are lot of images. I read up in some articles that it is better to save files on server than on database. I am using MEAN stack for my application. Can anyone refer me to some links or help me understand how can I achieve storing images on server?
If you are using node.js I recommend using multer for uploading your files through it to server and then make a public link to your file and store that link in your database.
I am using the Azure Custom Vision service (customvision.ai) for data labelling. It works well for automatically labelling data.
I want to use this data for a custom neural network, so I want to download the tags. Is there a way to download the tags, either from the GUI or API?
The closest thing I have found is the GetTaggedImages API request (https://southcentralus.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.2/operations/5dddfe4dc8d30b100855c60c).
Thanks!
If you want to get all tags for a given project and iteration., I would recommend you use API directly. There is a GetTags API can help with this, pleae check the following API reference:
https://southcentralus.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.2/operations/5dddfe4ec8d30b100855c626
After parsing a web site I end up with a data set that needs to be read and updated by a human. I can potentially save the data to any DB but I prefer mongoDB. To read and update the data I can reinvent the wheel and develop a Rest API in node, that uses the mongoDB driver and then develop a front end client with an html form for the user to read and update each document, but since it is 2017, is it there a complete framework that facilitates all this work? or do I need to go nodejs+express+mongo+Rest Client+custom html?
Your use case seems to be too specific that there would actually be a complete solution somewhere. I think you will have to build it yourself.
If you can speicify more information about what the data is like and what needs to be done with it, it might be helpful.