Add shopping red packet detection tests and sample image

- Implemented a test script for shopping red packet detection using pixel analysis and OCR.
- Created a sample image to simulate a shopping red packet for testing purposes.
- Added functions to test pixel detection, coordinate definitions, and OCR keyword matching.
- Included detailed print statements for test results and summaries.
This commit is contained in:
Your Name committed 2026-01-08 20:37:49 +08:00
1 parent b3011dd9ce
commit fb0c07c91a
30 files changed
+1269 -319

No files matched your search

-2
View File
@@ -50,14 +50,12 @@ __all__ = [
"format_exception",
"add_separators",
"add_colors",
# 类
"PerformanceTracker",
"ErrorLogger",
"DebugLogger",
"ActionLogger",
"LoggingWrapper",
# 装饰器和工具函数
"track_action",
"_get_debug_logger",