{"id":16153473,"url":"https://github.com/yonet/cognitiveservicesquickstart","last_synced_at":"2026-01-16T00:51:56.447Z","repository":{"id":53137796,"uuid":"194763741","full_name":"Yonet/CognitiveServicesQuickstart","owner":"Yonet","description":"Azure Cognitive Services Quickstart steps","archived":false,"fork":false,"pushed_at":"2023-07-08T13:24:53.000Z","size":4907,"stargazers_count":0,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T02:14:14.552Z","etag":null,"topics":["ai","azure","cognitive-services","node-sdk","quickstart","samples","vision","vision-a"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yonet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-02T01:06:13.000Z","updated_at":"2021-04-05T06:58:31.000Z","dependencies_parsed_at":"2024-10-27T19:10:50.504Z","dependency_job_id":"7cf73ad2-e456-4c0a-9750-e009b330b7b5","html_url":"https://github.com/Yonet/CognitiveServicesQuickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yonet%2FCognitiveServicesQuickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yonet%2FCognitiveServicesQuickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yonet%2FCognitiveServicesQuickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yonet%2FCognitiveServicesQuickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yonet","download_url":"https://codeload.github.com/Yonet/CognitiveServicesQuickstart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802622,"owners_count":20836373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","azure","cognitive-services","node-sdk","quickstart","samples","vision","vision-a"],"created_at":"2024-10-10T01:12:43.365Z","updated_at":"2026-01-16T00:51:56.422Z","avatar_url":"https://github.com/Yonet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cognitive Services Quickstart\n\n[Azure Cognitive Services Quickstart](https://docs.microsoft.com/azure/cognitive-services/?WT.mc_id=aiml-0000-ayyonet) completed steps divided into branches.\n\n## Custom Vision\n\n[Azure Cognitive Services - Custom Vision Quickstart](https://docs.microsoft.com/azure/cognitive-services/custom-vision-service/?WT.mc_id=aiml-0000-ayyonet) completed steps divided into branches.\n\n### [Object Detection - Node.js SDK](https://docs.microsoft.com/azure/cognitive-services/Custom-Vision-Service/node-tutorial-object-detection?WT.mc_id=aiml-0000-ayyonet)\n\n## Running locally\n\n1. Create a `.env` file and add your variables that are defined in '.env.example' file, then run the following commands:\n\n2. Install dependencies\n\n```bash\nnpm install\n```\n\n3. Start the sample file\n\n```bash\nnode sample.js\n```\n\nOr by running\n\n```bash\nnpm st\n```\n\n ####  [Step-1 branch](https://github.com/Yonet/CognitiveServicesQuickstart/tree/step-1)\n\n - Create a new folder for your project, ex: CognitiveServices.\n - [Initialize a git project.](https://help.github.com/en/articles/adding-an-existing-project-to-github-using-the-command-line)\n\n ```bash\n git init\n ```\n\n - Initialize an [npm project.](https://docs.npmjs.com/creating-a-package-json-file)\n\n ```bash\n npm init\n ```\n\n - Install the [Custom Vision SDK](https://docs.microsoft.com/azure/cognitive-services/Custom-Vision-Service/node-tutorial-object-detection?WT.mc_id=aiml-0000-ayyonet#install-the-custom-vision-sdk)\n\n ```bash\nnpm install @azure/cognitiveservices-customvision-training\nnpm install @azure/cognitiveservices-customvision-prediction\n ```\n\n- Get the [Training and prediction Keys](https://docs.microsoft.com/azure/cognitive-services/Custom-Vision-Service/node-tutorial-object-detection?WT.mc_id=aiml-0000-ayyonet#get-the-training-and-prediction-keys)\n\n- Add the Keys as environment variable on your console.\n\n```bash\nexport trainingKey={your training key}\nexport predictionKey={your predictionKey key}\nexport predictionResourceId={your predictionResourceId key}\n```\n\n - Create and add [sample.js file](https://docs.microsoft.com/azure/cognitive-services/Custom-Vision-Service/node-tutorial-object-detection?WT.mc_id=aiml-0000-ayyonet#CognitiveServicesQuickstart-github-ayyonet)\n\n - Change the [Key variables](https://github.com/Yonet/CognitiveServicesQuickstart/blob/d5d9fab5e40791e0752f4ecad8ec5a753d67d7b8/sample.js#L7) in your code to use your environment variables.\n\n ```js\nconst trainingKey = process.env.trainingKey;\nconst predictionKey = process.env.predictionKey;\nconst predictionResourceId = process.env.predictionResourceId;\n ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonet%2Fcognitiveservicesquickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonet%2Fcognitiveservicesquickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonet%2Fcognitiveservicesquickstart/lists"}