Home>

I want to recognize images using swift using OpenCV.
I don't know how to create a cascade file myself.
Also, please let me know if there is a good way other than cascade files.

Supplemental information (FW/tool version etc.)

swift4.1
OpenCV3.4.1
ios11.4

  • Answer # 1

    Create with opencv_traincascade.

    http://blog.aidemy.net/entry/2018/05/21/210100
    I think that the usage will come in various ways, but the above may be easy to understand

    How to use it is summarized below.
    https://qiita.com/shu223/items/ffd2202eaf92d342f83d

    At this time, it seems to be a good method to create a model by deep learning using keras, but there are still plenty of constraints, so do you feel like depending on the application?
    https://qiita.com/Mco7777/items/c5df09e8b68988cdf916

Related articles