Giter Club home page Giter Club logo

Comments (1)

Mephisztoe avatar Mephisztoe commented on May 22, 2024

You need to register an Azure Custom Vision Service for example here: https://azure.microsoft.com/en-us/services/cognitive-services/custom-vision-service. While doing so, you need to configure it for object detection. After that you can obtain its training and prediction key from its settings. Also you need to upload the training images you can find in the models folder of the solution, setup the tags (Button, Label, TextBox, and so on) and identify the tags in at least 15 Images per tag before you can train the model. After you have done so, you get an Iteration. So now you also have a Project Name and an Iteration Name for the config file.

For the HandwrittenText… you need to register an Azure Computer Vision Service for example here: https://azure.microsoft.com/en-us/services/cognitive-services/directory/vision/. From its settings you can retrieve the Subscription Key as well as the endpoint.

For the AzureWebJobsStorage you need an Azure Blob Storage that you can register for example here: https://azure.microsoft.com/de-de/services/storage/blobs/. However, while the sourcecode suggests, it needs an endpoint such as the one you used for the text recognition, for the storage you actually need its connection string that you will get from the access keys page of the blobs' settings.

Here is also a little caveat: In every place the sources access the blob, it assumes that the URL retrieved from the configured endpoint does NOT contain a trailing forward slash ("/") which results in bad URLs in several places. You could fix that by removing the additional slashes in the code.

The Sketch2CodeAppFunctionEndpoint and the corresponding storageurl is something you get when you register a Azure App Function Service. Funny thing is: It is never called throughout the app, but instead its execution is commented out.

Hope these hints give you the right direction.

One thing: At several places, the sources refer to a hardcoded URL such as sketch2code.blob.... which is why the app won't show your images correctly until you either rewire the url to your own or make the code correctly read the settings instead.

Cheers,
Christian.

from ailab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.