Skip to content
Menu
Cloud Gal 42
  • Home
    • Affiliate Disclosure
    • Privacy Policy
  • Solution Selling Tutorial
  • AI-SGAP
    • Beta Partners
    • Investors
  • 4022 Reader Updates
Cloud Gal 42

QuickGuide: Use Amazon Rekognition to detect text and faces in image

May 22, 2021 by admin

Step 1 – Create Ubuntu EC2 instance and prep for Rekognition

sudo apt update
python3 --version
	sudo apt install python3 (if python3 not installed)
sudo apt install python3-pip -y
sudo apt install zip -y
sudo apt install awscli -y
pip3 install boto3
pip3 install --upgrade awscli
aws configure (use the IAM user you created for AWS CLI)

Step 2 – Execute dummy rekognition.py

sudo chmod 777 -R /opt
cd /opt
wget https://demos3gl.s3.us-east-2.amazonaws.com/aws-rekognition.zip
unzip aws-rekognition.zip

python3 rekognition.py

Detected text

Steve jobs Dennis Ritchie (b. 24Feb 1955) (b. 09 Sep 1941 Become a hipster, sell stolen ideas Invent UNIX andC DIED 05 OCT 2011 DIED 12 OCT 2011 Withoue Steve lots, we would have: Withoutdennis Ritchier we wouldhave: -NO iProducts No Windows -No over-expensive No UMIX -No C No programs laptops Steve jobs Dennis Ritchie (b. 24Feb 1955) (b. 09 Sep 1941 Become a hipster, Invent UNIX andC sell stolen ideas DIED 05 OCT 2011 DIED 12 OCT 2011 Withoue Steve lots, we would have: Withoutdennis Ritchier we wouldhave: -NO iProducts No Windows over-expensive No UMIX -No -No C laptops No programs

Details of faces in DennisRitchieVSSteveJobs.jpeg

Face found with 99.99376678466797 % confidence Features found are eyeLeft eyeRight mouthLeft mouthRight nose

Face found with 99.99874877929688 % confidence Features found are eyeLeft eyeRight mouthLeft mouthRight nose

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Building a Local Knowledge Wiki Part 2 Runtime Isolation and Graph Validation
  • Building a Local Knowledge Wiki Part 1 Architecture and the First Memory Failures
  • Selling AI Security Like Life Insurance
  • What We Mean by “Harness” in AI
  • Same Container, Different Findings: What Trivy and Grype Taught Us

Recent Comments

  • Rafael on Installing Debian on OCI
  • Jorge on Installing Debian on OCI
  • admin on Installing Debian on OCI
  • Andreas on Installing Debian on OCI
  • admin on Installing Debian on OCI

Archives

  • November 2026
  • October 2026
  • December 2022
  • February 2022
  • September 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • November 2020
  • October 2020

Categories

  • aws
  • bcdr
  • cloud
  • cloudsecurity
  • compliance
  • informationsecurity
  • oracle
  • pci
  • QuickGuide
  • security
  • Uncategorized
©2026 Cloud Gal 42 | Powered by WordPress and Superb Themes!