News for hackers. Stuff that matters.
Re:Launch HN: Hello (YC S22) – A search engine for developers by michannne on Thursday July 07, 2022 @11:10PM (#32022601)
>Load image in black and white ttf c++

>I'm not sure what you mean by "load image in black and white ttf c++", but I can give you an example of how to do it. First, you'll need to convert the image to grayscale. You can do this by using the cvtColor function. Then, you can apply a binary threshold to the grayscale image. For example, if you have a color image with a value of 255 and a black value of 0, then you can do something like this: __

First impressions - really impressive! I did have to add "c++" to get any meaningful results though.

There are no comments on this comment yet.