自动启动paddleocr服务

@echo off
if "%1"=="h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
REM
c:
cd C:\Users\wjx\Desktop\ocr\PaddleOCR-release-2.3
set CUDA_VISIBLE_DEVICES=0
hub serving start -c "C:\Users\wjx\Desktop\ocr\PaddleOCR-release-2.3\deploy\hubserving\ocr_system\config.json"

存为bat,然后开机启动

posted @ 2021-10-17 19:29  星星c#  阅读(202)  评论(0编辑  收藏  举报