This package is meant to be used in your terminal. And allows working with lots of subdirectories containing git repositories.
composer global require james.xue/searchcurl -O https://ghproxy.com/https://raw.githubusercontent.com/xiaoxuan6/search/main/install.sh && chmod +x ./install.sh && ./install.shMake sure to place the ~/.composer/vendor/bin directory in your PATH so the search executable can be located by your system.
search initCopy the config.json file in the root directory to the current directory and modify the configuration file, And
execute the following command:
search env -f ./config.jsonCan also a value can be set individually
search config set --key=xxx --value=xxxocr
ocr ./16a7067.jpgqrcode
qrcode ./16a7067.jpg$app = new Vinhson\Search\Api\Application();OCR
$app->ocr->handle("./a.png");Qrcode
// 生成二维码
$app->qrcode->generate("https://github.com/xiaoxuan6/search");
// 生成带背景的二维码
$app->qrcode->generate("https://github.com/xiaoxuan6/search", "https://background.com/a.png");
// 解析二维码
$app->qrcode->decode("./qrcode.png");image
$app->image
