Coder Social home page Coder Social logo

Comments (8)

ianzhao05 avatar ianzhao05 commented on September 23, 2024

Can you please share what command you are running? What image are you using it on? Can you give an example? If the image is too noisy, or the colours are irregular, then there will likely be issues.

from textshot.

RaviPabari avatar RaviPabari commented on September 23, 2024
  1. Command for shortcut I am using without any extra arguments
    /home/ravi/anaconda3/bin/python /home/ravi/utilities/textshot/textshot.py
  2. SS for where I got this translated to French ( I tried to recreate this error several time but managed to find here in settings everytime I take the snap in settings I got this translated to French and couldn't paste it idk why for pasting I tried ctrl+v
    images:
    In the notification area you can see it translated to French or Idk what lang is that
    1
    2

from textshot.

ianzhao05 avatar ianzhao05 commented on September 23, 2024

It's not any language; just a bunch of garbage characters lol. The image in the screenshot is really noisy. It works best if you just have one piece of text with a uniform background and text colour. The dialog box in your case has multiple different colours, and the text is in multiple places.

from textshot.

RaviPabari avatar RaviPabari commented on September 23, 2024

LOL I thought it was French SMH...
But the problem is not solved yet still the text when detected properly are not copied to clipboard and I can't paste them :/

from textshot.

ianzhao05 avatar ianzhao05 commented on September 23, 2024

Examples of good images:

  • image
  • image
  • image

Examples of bad images:

  • image
  • image
  • image

from textshot.

RaviPabari avatar RaviPabari commented on September 23, 2024

Okay I understood now, but still what the problem I am facing is that the text is detected but Not COPIED to the clip board. In the notification I can see that it says the "copied" 'the text' but when I hit ctrl+v nothing gets pasted.
I on the new picture but still same :/
I took the screenshot when the program was running and I dragged the mouse and created that mini window for where I have to detect the text and before releasing the mouse I took this so you can see where I tested
Screenshot from 2020-08-02 00-25-00

from textshot.

ianzhao05 avatar ianzhao05 commented on September 23, 2024

Yeah, that is a good image. If you see the correct text in the notification, but you can't paste it, then something must be up with the clipboard function. My bet is that xclip is not installed. Can you do sudo apt install xclip and try again?

from textshot.

RaviPabari avatar RaviPabari commented on September 23, 2024

Done done done working now thanks bro.
I have made a PR where I have added an extra line in readme for installing xclip if not installed in some distros :)
Thanks 💯

from textshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.