# studyPy **Repository Path**: gongdj/studyPy ## Basic Information - **Project Name**: studyPy - **Description**: python相关的项目 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-14 - **Last Updated**: 2025-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```python nohup python dbgpt/app/dbgpt_server.py > dbgpt.log 2>&1 & paddleocr --image_dir C:\Users\gongdj01\Desktop\文档比对\scan-1.png --use_angle_cls true --use_gpu true --det_model_dir="F:\github\ocr_model\ch_PP-OCRv4_det_server_infer" python3 tools/infer/predict_system.py --image_dir="./doc/imgs/11.jpg" --det_model_dir="./inference/ch_det_mv3_db/" --rec_model_dir="./inference/ch_rec_mv3_crnn/" python tools/infer/predict_system.py --image_dir="D:\ocr\scan-1.png" --det_model_dir="F:\github\ocr_model\ch_PP-OCRv4_det_server_infer" --rec_model_dir="F:\github\ocr_model\ch_PP-OCRv4_rec_server_infer" python tools/infer/predict_system.py --image_dir="D:\ocr\scan-1_angle.png" --det_model_dir="F:\github\ocr_model\ch_PP-OCRv4_det_server_infer" --rec_model_dir="C:\Users\gongdj01\.paddleocr\whl\rec\ch\ch_PP-OCRv4_rec_infer" ``` ```text 导出binlog日志脚本: mysqlbinlog --no-defaults --base64-output=DECODE-ROWS -v --start-datetime="2025-06-15 14:00:00" --stop-datetime="2025-06-15 14:30:00" mysql-bin.007546 > /tmp/binlog_14.sql 生成更新脚本: python mysql_recover_update_sy.py --binlog_file=D:\mysql\mysql-bin.000001 --start_position=4 --end_position=1000 --db_name=dbgpt --table_name=chat_history --output_file=D:\mysql\update_data.sql 根据mysql_recover_update_sy.py, 根据mysql binlog日志恢复更新的数据,将update数据还原更新前的数据 ```