Is it possible something like nastroil Google translator to translate images of the PC screen?

There is a feature in Google translator the translation of the text from a picture camera but it works only on android
Can it not be setup so that she translated the text from computer screen?
The only way I now is to use a known telephone tape and remove so but is not particularly effective because the quality of the camera and computer resolution is different.
I thought to download the bluestacks emulator to install the Google translator and then as the relay shoot (to Emulate the camera or to intercept a signal) from the camera on the PC screen.
But I don't know how to do it
I know that there are other programs like screen translater or interpreter of symbols in Yandex but they are very crooked and transferred only screenshots. while the Google translator translates everything in real time.
April 4th 20 at 13:14
3 answers
April 4th 20 at 13:16
All the apps you gave only work on android and I need to transfer pictures to PC - Paige.Goyet commented on April 4th 20 at 13:19
@Paige.Goyet, you're probably well watched, or lack of understanding - gia9 commented on April 4th 20 at 13:22
@gia9, I'm not good in English.
lens google is application for searching and translation through a picture
and Vision AI is a google cloud which finds certain objects in the picture
I don't really understand how they can help me. - Paige.Goyet commented on April 4th 20 at 13:25
@Paige.Goyet, there is an api, use it - gia9 commented on April 4th 20 at 13:28
April 4th 20 at 13:18
The only thing I could think of is to use AirDroid, AutoIt Window Info of AutoIt , Scissors, Explorer, Opera.

To use it you need
copy the code into a new file .au3
create a folder scrn and open it with the DCIM folder
still need to open the interpreter in Mozilla and Remote control in a separate window and by using AutoIt Window Info to find the window name and replace $name_phone
and keep the shears in the scrn folder.
When you run the code you need to stand English keyboard
Program code

#include <AutoItConstants.au3>


$aPos = MouseGetPos()
 MsgBox(4096, "Ask", 'go?')


; The modes
$full = "{1}"
$window = "{2}"
$block = "{3}"
;store the positions
$c_save1 = "{5}"
$c_save2 = "{6}"
; Run
$run = "{0}"

$run_trn = "{9}"
; The name of the program
$program_name_1 = "Untitled – Notepad"
$program_name_2 = "Untitled – Notepad"

Global $pose_mouse[4]
Global $program
Global $mouse_pos1
Global $mouse_pos2


;Window name
Global $name_phone = 'Remote control'

;Mouse speed
Global $speed_mouse = 7
;Speed pause
Global $speed_programs = 5000
;Combinations
Global $ctrl_x = "^x"
Global $ctrl_c = "^c"
Global $ctrl_v = "^v"
Global $ctrl_a = "^a"
Global $ctrl_s = "^s"
;Window name translator
Global $name_translater_win = "Google Translator - Opera"


Global $way_cut = "C:\WINDOWS\system32\SnippingTool.exe"
Global $cut_name = "Scissors"
Global $save_wind = "[CLASS:#32770]"
Global $copy_wind = "Copy file"

Global $foldew_win1 = "scrn"
Global $foldew_win2 = "DCIM"folder

; Check for existence of window
;If Not WinExists($foldew_win1) And WinExists($foldew_win2 ) And WinExists($name_translater_win) And WinExists($name_phone) Then
$f = WinExists($foldew_win1) + WinExists($foldew_win2 ) + WinExists($name_translater_win) + WinExists($name_phone)
If $f >= 4 Then
 MsgBox(4096, "", "Window exists" & $f)
Else
 MsgBox(4096, "", "Window does not exists -" & $f)
Exit
EndIf

HotKeySet($full, "full_fun")
Full_fun Func()
 $pose_mouse[0] = 0
 $pose_mouse[1] = 0
 $pose_mouse[2] = 9999
 $pose_mouse[3] = 9999
EndFunc

HotKeySet($window, "window_fun")
Window_fun Func()
 $program = WinGetPos($program_name_1)
 $pose_mouse[0] = $program[0]
 $pose_mouse[1] = $program[1]
 $pose_mouse[2] = $program[0] + $program[2]
 $pose_mouse[3] = $program[1] + $program[3]
EndFunc

HotKeySet($block, "block_fun")
Block_fun Func()
 $program = WinGetPos($program_name_2)
 $pose_mouse[0] = $program[0]
 $pose_mouse[1] = $program[1]
 $pose_mouse[2] = $program[0] + $program[2]
 $pose_mouse[3] = $program[1] + $program[3]
EndFunc

HotKeySet($c_save1, "c_save1_fun")
C_save1_fun Func()
 $mouse_pos1 = MouseGetPos()
 $pose_mouse[0] = $mouse_pos1[0]
 $pose_mouse[1] = $mouse_pos1[1]
EndFunc

HotKeySet($c_save2, "c_save2_fun")
C_save2_fun Func()
 $mouse_pos2 = MouseGetPos()
 $pose_mouse[2] = $mouse_pos2[0]
 $pose_mouse[3] = $mouse_pos2[1]
EndFunc

HotKeySet($run, "run_fun")
Run_fun Func()

Run($way_cut)
WinWaitActive($cut_name)

local $creen = WinGetPos($cut_name)
MouseClick("left", $creen[0] + 10, $creen[1] + 40, 1, 0)
Sleep(1000)
;The selection window
MouseMove($pose_mouse[0], $pose_mouse[1],0)
MouseDown ( $MOUSE_CLICK_LEFT )
MouseMove($pose_mouse[2], $pose_mouse[3],0)
MouseUp ( $MOUSE_CLICK_LEFT )

;Save the file
Send($ctrl_s)
WinWaitActive($save_wind)
WinActivate($save_wind)
Send("{ENTER}")
Sleep(1000)
Send("{LEFT}{ENTER}")
Sleep(1000)
WinClose ($cut_name)

;To throw OUT of the folder scrn
Local $hWnd = WinWait($foldew_win1, "", 10)
WinActivate($hWnd)
Sleep(1000)
ControlSend($hWnd, "", "[CLASS:DirectUIHWND;INSTANCE:2]", $ctrl_a)
Sleep(1000)
ControlSend($hWnd, "", "[CLASS:DirectUIHWND;INSTANCE:2]", $ctrl_c)

;Paste Into the DCIM folder
Local $hWnd = WinWait($foldew_win2, "", 10)
Sleep(1000)
WinActivate($hWnd)
ControlSend($hWnd, "", "[CLASS:DirectUIHWND;INSTANCE:2]", $ctrl_v)
WinWaitActive($copy_wind )
Sleep(1000)
ControlSend($copy_wind , "", "", "{UP 2}{ENTER}")

EndFunc


;Start the interpreter
HotKeySet($run_trn, "trans_fun")
Func trans_fun()

WinActivate($name_phone)
WinWaitActive($name_phone )

$transl = WinGetPos($name_phone)


;Activate the window
MouseClick("left", $transl[0] + $transl[2] / 1.35, $transl[1] + $transl[3] / 1.25 , 2, $speed_mouse)
Sleep(5000)
MouseClick("left", $transl[0] + $transl[2] / 1.35, $transl[1] + $transl[3] / 1.25 , 2, $speed_mouse)
Sleep(1000)
Search for kartiny
MouseClick("left", $transl[0] + $transl[2] / 4.5, $transl[1] + $transl[3] / 1.12 , 2, $speed_mouse)
Sleep(1000)
;Selection
MouseClick("left", $transl[0] + $transl[2] / 2, $transl[1] + $transl[3] / 2 , 2, $speed_mouse)
Sleep(1000)
MouseClick("left", $transl[0] + $transl[2] / 2, $transl[1] + $transl[3] / 2 , 2, $speed_mouse)
Sleep(5000)
;Select all text
MouseClick("left", $transl[0] + $transl[2] / 2, $transl[1] + $transl[3] / 1.12 , 2, $speed_mouse)
Sleep(1000)
;Select text
MouseClick("left", $transl[0] + $transl[2] / 8, $transl[1] + $transl[3] / 6 , 1, $speed_mouse)
Sleep(1000)
;Copy the text
Send($ctrl_a)
Sleep(1000)
Send($ctrl_a)
Sleep(1000)
Send($ctrl_x)
Sleep(1000)
;Exit
MouseClick("left", $transl[0] + $transl[2] / 9, $transl[1] + $transl[3] / 9, 2, $speed_mouse)
Sleep(1000)
;Hide the extra menu
MouseClick("left", $transl[0] + $transl[2] / 2.8, $transl[1] + $transl[3] / 1.045, 2, $speed_mouse)
Sleep(1000)

;Hide the extra menu
WinActivate($name_translater_win)
WinWaitActive($name_translater_win)

ControlSend($name_translater_win, "", "", $ctrl_a)
ControlSend($name_translater_win, "", "", $ctrl_v)

EndFunc

while 1
; Sleep(100)
WEnd

But the code is very curve if anyone has a better idea I'd love to read.
April 4th 20 at 13:20
For this there is Vision Cloud API [1]

[1] https://cloud.google.com/vision/docs/ocr
But as I understand it paid. - Paige.Goyet commented on April 4th 20 at 13:23
1000 pictures per month for free [1]

[1] https://cloud.google.com/vision/pricing - Lilyan.Towne commented on April 4th 20 at 13:26
@Lilyan.Towne, Yes, but they have previously asked to link your own card to make sure that you're not a bot. Over 1000 images it's very little when you're trying to translate every frame of the game in a foreign language. - Paige.Goyet commented on April 4th 20 at 13:29
@Paige.Goyet, Free$ 300 will be enough for 200k pictures - Lilyan.Towne commented on April 4th 20 at 13:32
@Lilyan.Towne,
No automatic charging after a free trial period
We ask you to indicate your credit card in order to make sure that you are not a robot.

If not for these two conditions then I would agree. And so it is a very bad idea. - Paige.Goyet commented on April 4th 20 at 13:35

Find more questions by tags Google