Toggle navigation
Toggle navigation
This project
Loading...
Sign in
lizhengwei
/
aigc-embedding-service
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangdongxu
2026-05-15 17:06:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a8e9804177e7cd0449c4e183ff55fbd42f11c14b
a8e98041
1 parent
fe373aed
jira:NYJ-1550 desc:结构调整
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
16 deletions
src/football_replay_match/core/api.py
src/football_replay_match/util/football_replay_match_live.py → src/football_replay_match/core/football_replay_match_live.py
src/football_replay_match/util/football_replay_video_event_by_llm.py → src/football_replay_match/core/football_replay_video_event_by_llm.py
src/football_replay_match/core/llm_image_b.py
src/football_replay_match/util/match_live_test.py
src/football_replay_match/util/replay_event_test.py
src/football_replay_match/core/api.py
View file @
a8e9804
...
...
@@ -71,14 +71,8 @@ class FootballReplayMatch:
logger
.
info
(
f
'通过时间找到匹配的事件'
)
import
json
import
os
from
pathlib
import
Path
from
.llm_image
import
Video2Frame
from
..util
.football_replay_match_live
import
FootballReplayMatchLive
from
football_replay_match.core
.football_replay_match_live
import
FootballReplayMatchLive
from
..config
import
settings
...
...
src/football_replay_match/
util
/football_replay_match_live.py → src/football_replay_match/
core
/football_replay_match_live.py
View file @
a8e9804
...
...
@@ -6,7 +6,7 @@ from langchain_core.messages import SystemMessage, HumanMessage
from
langchain_openai
import
ChatOpenAI
try
:
from
.llm_video_content
import
contents
as
video_contents
from
football_replay_match.util
.llm_video_content
import
contents
as
video_contents
except
:
from
llm_video_content
import
contents
as
video_contents
...
...
src/football_replay_match/
util
/football_replay_video_event_by_llm.py → src/football_replay_match/
core
/football_replay_video_event_by_llm.py
View file @
a8e9804
...
...
@@ -6,7 +6,7 @@ from langchain_core.messages import SystemMessage, HumanMessage
from
langchain_openai
import
ChatOpenAI
try
:
from
.llm_video_content
import
contents
as
video_contents
from
football_replay_match.util
.llm_video_content
import
contents
as
video_contents
except
:
from
llm_video_content
import
contents
as
video_contents
...
...
src/football_replay_match/core/llm_image_b.py
View file @
a8e9804
import
base64
import
hashlib
import
subprocess
from
pathlib
import
Path
import
cv2
...
...
@@ -349,7 +348,7 @@ if __name__ == "__main__":
print
(
"
\n
[TEST 3] FootballReplayVideoEvent 进球识别(可选)"
)
try
:
from
..util
.football_replay_video_event_by_llm
import
FootballReplayVideoEvent
from
football_replay_match.core
.football_replay_video_event_by_llm
import
FootballReplayVideoEvent
except
ImportError
:
import
sys
from
pathlib
import
Path
...
...
src/football_replay_match/util/match_live_test.py
View file @
a8e9804
from
football_replay_match_live
import
FootballReplayMatchLive
from
football_replay_match
.core.football_replay_match
_live
import
FootballReplayMatchLive
from
qwen_asr_util
import
QwenAsr
from
football_replay_video_event_by_llm
import
FootballReplayVideoEvent
from
football_replay_
match.core.football_replay_
video_event_by_llm
import
FootballReplayVideoEvent
import
os
import
json
def
batch_match
():
...
...
src/football_replay_match/util/replay_event_test.py
View file @
a8e9804
import
json
import
os
from
football_replay_video_event_by_llm
import
FootballReplayVideoEvent
from
football_replay_
match.core.football_replay_
video_event_by_llm
import
FootballReplayVideoEvent
from
qwen_asr_util
import
QwenAsr
def
batch_with_asr
():
fbrv
=
FootballReplayVideoEvent
(
base_url
=
"http://192.168.1.59:11434/v1"
,
model
=
"Qwen3.6-35B-A3B-UD-Q8_K_XL.gguf"
,
temperature
=
0.7
)
...
...
Please
register
or
login
to post a comment