Azure ocr with Go

These are options to make request with OCR (Azure Cognitive Services) in GO: Read from file : file, err := os.Open("img.png") if err != nil { panic(err) } defer file.Close() client := &http.Client{} req, err := http.NewRequest("POST", "https://endpoint/vision/v3.0/ocr", file) req.Header.Add("Content-Type", "application/octet-stream") req.Header.Add("Ocp-Apim-Subscription-Key", "key") //Handle Error if err != nil { log.Fatalf("An Error Occured %v", err) … Continue reading Azure ocr with Go

expo-local-authentication

This is an example : //Determine whether a face or fingerprint scanner is available on the device. LocalAuthentication.hasHardwareAsync().then((isSupported) => { if (isSupported) { //Determine what kinds of authentications are available on the device LocalAuthentication.supportedAuthenticationTypesAsync().then((type) => { /* 1 : fingerprint 2 : facial 3 : iris recognition (Android only) */ if (type.indexOf(1) !== -1) { … Continue reading expo-local-authentication

Setting up a Static Website Using AWS S3 and Route 53 (Part 2)

In previous part, i have shown how to hosting website using AWS S3. In this part, i am going to show how to configure Amazon Route 53 as your Domain Name System (DNS) provider. If you want to serve content from your root domain, such as demosite.com, you must use Amazon Route 53. You create … Continue reading Setting up a Static Website Using AWS S3 and Route 53 (Part 2)

Setting up a Static Website Using AWS S3 and Route 53 (Part 1)

In this part, i am going to show my experience how to deploy simple Angular in AWS S3. Step 1: Assuming you already have simple site with Angular CLI ng new PROJECT-NAME cd PROJECT-NAME ng serve Next, using ng build to compiles the application into an output directory. It will generate code in the dist/ … Continue reading Setting up a Static Website Using AWS S3 and Route 53 (Part 1)