0xPrateek / Photoroid

Fastest Image scanner using openCV & Dhash :rocket:
GNU General Public License v3.0
45 stars 21 forks source link

Adding windows color support #3

Closed 0xPrateek closed 4 years ago

VishalS99 commented 4 years ago

I would like to take up this problem. Could please elaborate a bit more?

0xPrateek commented 4 years ago

@VishalS99 currently, we are printing colored lines using ANSI escape sequences which is supported in Linux and Mac but not supported by windows. You should either find an alternative for printing colored lines that support windows as well or find a solution to fix using ANSI escape sequences only.

Check this once : https://github.com/adoxa/ansicon

VishalS99 commented 4 years ago

Okay I'll look into it the forth coming days

VishalS99 commented 4 years ago

At present, there is a python package called colorama, the does the same and is very well supported.