Simple utility to create one large screenshot image for pages longer than can fit in the screen.
python3
opencv3
vid_ocr.py
: takes as input a mobile screen recording video of scrolling down a long page. Outputs a text file with recognized text in videovid_stitch.py
: takes as input a mobile screen recording video of scrolling down a long page. Outputs one long screenshotpic_stitch.py
: takes as input multiple consecutive screenshots (top to bottom) of a long page. Outputs one long screenshot
python vid_ocr.py -v my_screen_recording.mp4 -t step -p 50
python vid_stitch.py -v my_screen_recording.mp4 -t target -p 8
python pic_stitch.py -i my_screenshot1.png,my_screenshot2.png,my_screenshot3.png -o output.png
--output
/-o
: output filename (optional). Default:output.png
forvid_stitch.py
only:--video
/-v
: input video file with screen recording of scrolling down--frame_param_type
/-t
: which type is theframe_param
option. Eithertarget
orstep
.step
: size of step in video frames between each sample considered for stitching (optional).target
: number of sample frames to target (approximate).
for pic_stitch.py
only:
--input
/-i
: comma delimited (no spaces) input image files. Should be ordered top to bottom
Script | Input | Output |
---|---|---|
vid_ocr.py |
(actual output is a raw text file and not an image) |
|
vid_stitch.py |