Content-based image search linux [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm looking for an image that contains some certain text on my machine running Ubuntu 12.04
Say for example I'm looking for "Some text here," like in the folliwing image:
I want to be able to find any larger images containing that text on my hard drive:
Is there a way to search my machine for that?
Thanks for any tips!

Check out tesseract, it should do the job: https://code.google.com/p/tesseract-ocr/wiki/ReadMe
You can run:
tesseract Sometext_big.png out.txt
And out.txt will contain "Some text here".
Then it's just a matter of some shell scripting to call find to find all of the images of a particular type, run them through tesseract and see if the output file contains the text you want.

Related

How to copy all the fine with a specific format like .txt and .png from a folder to another one in Linux Terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi all I have a folder full of different format like the one that I am interested in are .png and .txt and I want to copy them in another folder from the terminal in Linux. Someone know how to that?
Simple Use cp command in Linux
=> Example:
cp *.txt /destination/folder/location/

Linux command needing translating [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have just started learning the Linux system and I need some help to translate the following to English:
grep WARNING readme.txt
and
grep WARNING readme.txt > warnings.txt
This is a homework question that i have researched myself but having trouble learning exactly what it means.
thanks in advance.
Try making a file on your computer named readme.txt. Put some lines of text in there, and make sure that some lines say "WARNING" while other lines do not.
Then run your first command and observe its output.
Then run your second command and observe its output and observe what was written to warnings.txt.

PDF to text (multiple pages) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
How to extract text from a PDF with multiple pages? I need to get each page as separated text strings
Page 1 as one string, page 2 as another string etc
Is it possible with pdftotext or any other tool?
I need a Linux command line tool
The easiest way would be to use the already named pdftotext tool, which can be installed by running sudo apt-get install poppler-utils. After that you can simply run pdftotext /link/to/input.pdf /link/to/output.txt.

lpr to print files with different names and directories [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a script witch use lpr to print the output to a PDF file.
I would like to change the location or even the file name of the saved file.
I read several forums about lpr and did not find anything on how to specify the name and the directory of the printed pdf.
Instead I always get a standard name in my PDF directory.
Thank you!
Take a look at cups-pdf, https://help.ubuntu.com/community/PDFPrinting . You can configure the output directory and filename with it. The configuration file is /etc/cups/cups-pdf.conf.

MAC .bash_profile: change directory string colors and file names by type [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am not sure if this is even possible I search in google but looks like I am not using the correct search string. How can we change the display color of directory strings, files etc.
Example: when we do ls, command can we change the .bash_profile script to show Directories in Red and Files in yellow? further more can we change file colors based on file type?
Yes you can. Use
export CLICOLOR=true
to turn on the colors in ls and something like
export LSCOLORS=gxfxcxdxbxegedabagacad
to customize the colors per type of file.
Type
man ls
for an explanation of how LSCOLORS work.

Resources