Questions tagged [image-text]

23 questions
7
votes
1 answer

Put Text on Image from database while editing image in Canvas

I have a question and i am confused what strategy i should choose to solve this. Here is the description. I have a gallery which is managed on user authentication. Next I have basically a simple form which saves quotes into database. Selecting an…
Muhammad Raheel
  • 19,823
  • 7
  • 67
  • 103
6
votes
1 answer

GD Library imagettftext getting problem in Gujarati Language Text

I have used GD Library to create "Text on Image". I am facing one issue that passing some Gujarati text but getting wrong output as below: I want like this and getting: My code is: $textBox = imagettfbbox($fontSize, $angle, $font,…
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
3
votes
0 answers

PHP - imagettftext - Unicode characters

Unicode characters shows a set of rectangles on the image. I tried to fix it in these way, but it does not work. $text = mb_convert_encoding($text, 'HTML-ENTITIES',"UTF-8"); $text = html_entity_decode($text,ENT_NOQUOTES,…
user3351236
  • 2,488
  • 10
  • 29
  • 52
2
votes
0 answers

How to calculate similarity between an image and a text?

I have several images and I want to know if there is any aircraft in the images or not. I used the clip shown below but the output is [[1.0]], while the image is the face of humans. I think it is because it uses softmax. I tried to use…
1
vote
1 answer

Reading images from pdf and extract Text from it

Problem Statement: I have a pdf which contains n number of pages and each page has 1 image whose text I need to read and perform some operation. What I tried: I have to do this in python, and the only library I found with the best result is…
1
vote
3 answers

Why does reading text from image using pytesseract doesnt work?

Here is my code: import pytesseract pytesseract.pytesseract.tesseract_cmd = r'F:\Installations\tesseract' print(pytesseract.image_to_string('images/meme1.png', lang='eng')) And here is the image: And the output is as follows: GP. ed
user9923969
1
vote
1 answer

how to get the starting text and ending text from image path in python using regex?

Here is the given two scenarios Example 1 the Image Path is https://ictagrisindh.gov.pk/img/inauguration1.jpg the detail goes here and the url was this and Click here to view the detail goes here Example…
Umair Mubeen
  • 823
  • 4
  • 22
1
vote
1 answer

PHP - read text from image with TesseractOCR

I'm using Windows Server 2016 64bit and installed TesseractOCR from here: https://github.com/UB-Mannheim/tesseract/wiki the 64bit version tesseract-ocr-w64-setup-v5.0.0-alpha.20191030.exe Then I installed the PHP Package: composer require…
Eduard Unruh
  • 985
  • 1
  • 14
  • 35
0
votes
1 answer

OCR in Jira, how to get text information from screenshots

we use jira as our ITSM tool. Often our end users send screenhosts in the tickets and we need to manually retype the text from it (exceptions, urls...). It would be great if we could automatically extract the text from images in jira by some OCR…
0
votes
0 answers

How to scale responsive image and text container while maintaining margins/padding?

I need to be able to maintain the margins and padding for a web page where the text is placed over a given region of the image. Does anyone have a potential solution or workaround for this? imageWrapper: { backgroundSize: "auto 100%", …
0
votes
0 answers

How to get text to appear over a faded image, when the mouse is hovering over the image?

I want the image to fade when you hover over it, and for a text to become visible over that same image. I can get the image to fade, but I can't seem to get the text visible when hovering over the image, and neither to get it to stack on top of and…
0
votes
2 answers

Waiting for the text optional module to be downloaded. Please wait. On Android Studio

I'm a new android developer and trying to make image to text app. I watched some tutorials and pretty sure that i don't make any mistakes. I'm using ML Kit for this project and got error when i tried to convert the image to text. My main…
0
votes
2 answers

Is there a way to read and collect EMF image file in python? Can we read a EMF image with OpenCV ? How to convert it in jpg or png?

I am searching for a solution for a long time but couldn't be able to find it. There are more similar qestion-answers but that didn't help me. Basically I have some word documents (xxx.docx) having some images. That image is in WMF format (when I…
0
votes
2 answers

How to extract texts from customized blocks in a image using Google Vision API(OCR)?

when we use Google vision's DOCUMENT_TEXT_DETECTION for a image, it decides what are the blocks in the image and what texts are in each block Here I want to get the text for the blocks which are defined by me(already have a model to identify…
Vidu VDS
  • 62
  • 9
0
votes
1 answer

How to write on images using EmguCV in C#

I wanna write on images using EmguCV in Windows Form C# In actual I wanna create a simple app for images as an image editor. Its simple purpose is to open images through an open file dialogue I can open the file but now I can't get any help or…
user15294548
1
2