How to identify different objects in an image?

后端 未结 3 884
孤城傲影
孤城傲影 2021-02-05 12:13

I\'m intending to write a program to detect and differentiate certain objects from a nearly solid background. The foreground and the background have a high contrast difference w

3条回答
  •  醉梦人生
    2021-02-05 12:35

    These posts will get you started:

    • How to detect circles

    • How to detect squares

    • How to detect a sheet of paper (advanced square detection)

    You will probably have to adjust some parameters in these codes to match your circles/squares, but the core of the technique is shown on these examples.

提交回复
热议问题