mrzjy commited on
Commit
e28833c
1 Parent(s): 52e77a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -57,10 +57,23 @@ Here we show how text information is parsed from raw videos.
57
 
58
  1. Extracting Video Frames
59
 
60
- - A Frame as an Image
61
 
62
  ![frame_130.jpg](img%2Fframe_130.jpg)
63
 
64
  2. OCR on video frame
65
 
 
 
66
  ```[{"box": [[1161.0, 17.0], [1250.0, 20.0], [1249.0, 49.0], [1160.0, 46.0]], "text": "跳过I", "score": 0.8165686130523682}, {"box": [[539.0, 154.0], [724.0, 136.0], [726.0, 158.0], [542.0, 177.0]], "text": "SOURCEUNKNOWN", "score": 0.9888437986373901}, {"box": [[541.0, 475.0], [645.0, 475.0], [645.0, 499.0], [541.0, 499.0]], "text": "不明通讯", "score": 0.9979484677314758}, {"box": [[807.0, 476.0], [976.0, 481.0], [976.0, 508.0], [806.0, 504.0]], "text": "无量塔姬子", "score": 0.9982650876045227}, {"box": [[544.0, 509.0], [1107.0, 534.0], [1106.0, 567.0], [542.0, 542.0]], "text": "防御系统已经解除,我们暂时安全了。但还是", "score": 0.9949256777763367}, {"box": [[548.0, 545.0], [786.0, 558.0], [784.0, 585.0], [546.0, 573.0]], "text": "不知道琪亚娜在哪里。", "score": 0.9898449182510376}]```
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  1. Extracting Video Frames
59
 
60
+ Save each frame as a image.
61
 
62
  ![frame_130.jpg](img%2Fframe_130.jpg)
63
 
64
  2. OCR on video frame
65
 
66
+ Apply an OCR model to recognize texts that appear in a frame.
67
+
68
  ```[{"box": [[1161.0, 17.0], [1250.0, 20.0], [1249.0, 49.0], [1160.0, 46.0]], "text": "跳过I", "score": 0.8165686130523682}, {"box": [[539.0, 154.0], [724.0, 136.0], [726.0, 158.0], [542.0, 177.0]], "text": "SOURCEUNKNOWN", "score": 0.9888437986373901}, {"box": [[541.0, 475.0], [645.0, 475.0], [645.0, 499.0], [541.0, 499.0]], "text": "不明通讯", "score": 0.9979484677314758}, {"box": [[807.0, 476.0], [976.0, 481.0], [976.0, 508.0], [806.0, 504.0]], "text": "无量塔姬子", "score": 0.9982650876045227}, {"box": [[544.0, 509.0], [1107.0, 534.0], [1106.0, 567.0], [542.0, 542.0]], "text": "防御系统已经解除,我们暂时安全了。但还是", "score": 0.9949256777763367}, {"box": [[548.0, 545.0], [786.0, 558.0], [784.0, 585.0], [546.0, 573.0]], "text": "不知道琪亚娜在哪里。", "score": 0.9898449182510376}]```
69
+
70
+ 3. Vision-Language Understanding
71
+
72
+ Prompt a performant VLM to understand the frame image as well as OCR result (prevent hallucinations), and output structured information as follows:
73
+
74
+ ```json
75
+ {
76
+ "role": "无量塔姬子",
77
+ "content": "防御系统已经解除,我们暂时安全了。但还是不知道琪亚娜在哪里。"
78
+ }
79
+ ```