element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Bluetooth Unleashed Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Bluetooth Unleashed Design Challenge
  • More
  • Cancel
Bluetooth Unleashed Design Challenge
Blog Bluetooth Unleashed : AAPSAD #3 : The Fall
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: sakthi.1260
  • Date Created: 19 May 2018 4:10 PM Date Created
  • Views 708 views
  • Likes 7 likes
  • Comments 4 comments
  • rpi3b+
Related
Recommended

Bluetooth Unleashed : AAPSAD #3 : The Fall

sakthi.1260
sakthi.1260
19 May 2018

Hi guys,

 

There's been a lot of confusions, lots of algorithms, lot of choices for the face analysis part. Spent a lot of time over it, learnt a couple of new things, so what else it was time to test things out.

 

I started with the traditional way, template based matching had to take around 35 pics and my beard for better accuracy, after a bit of enhancements and the discovery was, I'm really bad with Expressions image it wasn't working the way I want it to.

image

So the next option was to make a standalone AI to do the job, so I called a friend with knowledge in Machine Learning and OpenCV, he had already had an python script for the same, we tried and it was working good.

image

But the problem was, the script was designed to run on a high spec computers and our poor hero had to give in all his abilities to run. There was like 5s delay to move into the next frame. The ACT LED stood still and had to pull the chord to stop the process.

image

 

With that sort of system load, video playback (the visuals and audio part) would never work.

 

There has to be an way, I'm looking into cloud services for the same, started working not sure which one will work out

 

Will the hero rise back??

To be continued...image

 

Cheers,

  • Sign in to reply

Top Comments

  • aspork42
    aspork42 over 7 years ago +3
    Nice update! Perhaps limit the frame rate or only trigger the script based on some other input like a button press or motion sensor?
  • shabaz
    shabaz over 7 years ago +2
    Hi! Good to see the progress, nice project : ) If you're only applying processing per frame using OpenCV (i.e. only looking for features in still images), then there are a few tricks possible. One idea…
  • DAB
    DAB over 7 years ago +2
    If you do a little research, you will find that the higher quality recognition algorithms use a set of control points for facial features that they use as cues for specific purposes. Take a look at those…
  • genebren
    genebren over 7 years ago

    sakthi.1260,

     

    Each pixel used has a cost.  Try to limit the area that you are processing and the resolution that you are using.  I have done a lot of image processing and have found that highly optimized algorithms always beat general purpose functions.  Also, be sure to utilize integer math where ever possible as this is the most optimized calculation.

     

    Good luck as you regroup and figure a way to achieve your goals.

     

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago

    If you do a little research, you will find that the higher quality recognition algorithms use a set of control points for facial features that they use as cues for specific purposes.

    Take a look at those control features, especially the eyes, nose and lips. You should find that you can improve your reliability and ability to resolve more facial characteristics.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 7 years ago

    Hi!

    Good to see the progress, nice project : )

    If you're only applying processing per frame using OpenCV (i.e. only looking for features in still images), then there are a few tricks possible. One idea is to reduce the image resolution (since you likely don't need HD), and another is to choose not to process all frames, e.g. just process one frame a second, or get the Pi camera to take a snapshot once per second only. It should speed things up significantly.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 7 years ago

    Nice update! Perhaps limit the frame rate or only trigger the script based on some other input like a button press or motion sensor?

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube