Convert take in photos into character strings and display at character strings.
Via SSH: For those who plan on regularly making direct commits, cloning over SSH may provide a better experience (which requires uploading SSH keys to GitHub):
$ mkdir gitrepo
$ cd gitrepo
$ git@github.com:keisukeYamagishi/imstr.git
Via https: For those checking out sources as read-only, HTTPS works best:
$ mkdir gitrepo
$ cd gitrepo
$ git clone https://ithub.com:keisukeYamagishi/imstr.git
if there is not homebrew install homebrew
show homebrew info at https://brew.sh/index_ja.html
open terminal.app
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
set up python for mac
$ brew install python3
$ pip3 install numpy
$ brew install opencv3
$ python3 ./imstr
Use it this
imstr path option
options
-n html_name
-v [ Disply this version ]
-o Not Display output path
Supported image format
png, jpeg, jpg, jpe
$ ./bin/imstr -v
imstr version: 2.0.1
create html
$ ./imstr bigbear.jpg
create path: => /Users/keisukeyamagishi/Code/git/imstr/index.html
Complete
🍺
When executed, it is written in index.html. Here is the file at run time
create html