[Script Tool] Extract frames from video, add srt subtitles for reading, and add background audio

1. Article directory After reading this article, you will be able to learn the following: Batch video frame extraction; Add srt subtitles; Add srt dubbing; Add background music; Combine multiple video clips into a new video; Effect: 2. Install dependencies First install the video processing libraries opencv-python and moviepy. The installation method is pip install […]

Top 5 Python libraries for extracting text from images

The main thing is to understand and master the OCR tool for text positioning and recognition~ Optical character recognition is an old but still challenging The problem involves detecting and recognizing text from unstructured data, including images and PDF documents. It has wide applications in areas such as banking, e-commerce, and social media content management. […]

[whisper] Call whisper in python to extract subtitles or translate subtitles into text

Recently I have been doing business related to video processing. There is a need to extract subtitles from the video. Our implementation process is divided into two steps: first separate the audio, and then use whisper for speech recognition or translation. This article will introduce in detail the basic use of whisper and the two […]

[Image Segmentation] Image detection (segmentation, feature extraction), measurement and filtering of various features (area, etc.) (Matlab code implementation)

Welcome to this blog Advantages of bloggers:Blog content should be as thoughtful and logical as possible for the convenience of readers. Motto:He who travels a hundred miles is half as good as ninety. The directory of this article is as follows: Table of Contents 1 Overview 2 Operation results ? 3 References 4 Matlab code […]

Frame extraction processing of something-somethingV2 data set

Regarding the problems I encountered when processing the ssv2 data set, it’s really terrible. Although it’s not a big problem, it can mess with people’s mentality. 1. Brief introduction to the problem Because the ssv2 data set is all videos, unlike ssv1 which has ready-made jpg images, the video needs to be extracted and processed […]

Web page data extraction — regular expressions

Table of Contents 1 Overview 2. Metacharacters Basic metacharacters: Repeating metacharacters: Positional metacharacters: Other metacharacters Escapes: 3. Commonly used regular expressions 4. Methods of re module 5. Advanced use of regular expressions .*? pattern modifier 6. Regular parsing data demo 1. Overview Regular Expression, translated as regular expression or regular expression, represents a regular expression, […]