EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Hello Shah   Thanks for

Hello Shah   Thanks for

|

Miscellaneous › Others › DIP.. shape detection › Hello Shah   Thanks for

May 10, 2014 at 8:01 am #11715
keagan
Participant

Hello Shah

 

Thanks for reply. I have been doing some research on this. I have extracted rgb, I am have a problem with figuring the shape ratios. I need to detect like nine shapes in my test image and put a number at the centre of the shape. Like all squares with number one in centre, all trinagles number two in centre and up to nine for nine shapes.  I want to know if you can help me with what ratios represent what shape. Output image will be black background and shapes in white.

 

if abs(allRatios-1.12) < 0.2

shape = ‘triangle’;

 

RSS Recent Posts

  • EasyEda program has a major bug April 13, 2026
  • understanding transmission line properties from TDR plot April 13, 2026
  • Search term needed for remote control hobby. April 13, 2026
  • Decoupling Cap placement. April 12, 2026
  • isolating S-params in of PCB board without connectors April 12, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise