H
H
Happy_Ghost2019-05-28 21:21:26
Computers
Happy_Ghost, 2019-05-28 21:21:26

How to add such an effect in Sony Vegas/After Effects?

How to make the effect shown in the video or something similar?
Photo/
5ced7ba41eb79305683471.png
Video Preview
https://mega.nz/#!1d1DAYhK!I4sY0wswuyakWwkxrT6gICn...

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dimonchik, 2017-06-11
@dimonchik2013

replace tesseract finereader

A
Alex F, 2017-06-11
@delvin-fil

Since when did Tessa stop recognizing Russian?
From bash history:

46367  апр 10 05:13:30 tesseract Screenshot_2017-04-09-22-41-27.png prog -l rus+eng

B
Bastax13, 2017-06-11
@Bastax13

If you are a masochist, you can write your own recognizer in OpenCV

Z
zoldaten, 2019-02-21
@zoldaten

here, from masochists.
# python ocr.py --image example_01.png
# import the necessary packages
from PIL import Image
import pytesseract
import argparse
import cv2
import os
# construct the argument parse and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("- i", "--image", required=True,
help="path to input image to be OCR'd")
ap.add_argument("-p", "--preprocess", type=str, default="thresh ",
help="type of preprocessing to be done")
args = vars(ap.parse_args())
# load the example image and convert it to grayscale
image = cv2.imread(args["image"
# check to see if we should apply thresholding to preprocess the
# image
if args["preprocess"] == "thresh":
gray = cv2.threshold(gray, 0, 255,
cv2.THRESH_BINARY | cv2.THRESH_OTSU)[1]
# make a check to see if median blurring should be done to remove
# noise
elif args["preprocess"] == "blur":
gray = cv2.medianBlur(gray, 3)
# write the grayscale image to disk as a temporary file so we can
# apply OCR to it
filename = "{}.png".format(os.getpid())
cv2.imwrite(filename, gray)
# load the image as a PIL/Pillow image, apply OCR, and then delete
# the temporary file
text = pytesseract.image_to_string(Image.open(filename))
os.remove(filename)
print(text)
# show the output images
cv2.imshow("Image", image)
cv2.imshow("Output", gray)
cv2.waitKey(0)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question