<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Считывание цифры с картинки]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=16622&amp;type=atom" />
	<updated>2021-09-28T08:11:52Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16622</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание цифры с картинки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=149782#p149782" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, PaddleOCR прекрасно подойдет. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[lost]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41514</uri>
			</author>
			<updated>2021-09-28T08:11:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=149782#p149782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание цифры с картинки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=149781#p149781" />
			<content type="html"><![CDATA[<p>Возможности чтения с экрана есть:<br /></p><ul><li><p><a href="https://www.autohotkey.com/boards/viewtopic.php?f=6&amp;t=72674">Нативный способ (Windows 10)</a></p></li><li><p><a href="https://www.autohotkey.com/boards/viewtopic.php?f=6&amp;t=94856">Библиотека</a></p></li><li><p><a href="https://www.autohotkey.com/boards/viewtopic.php?f=6&amp;t=36047&amp;hilit=Vis2.ahk">Стороннее ПО + AHK</a></p></li></ul><p>Но цвет определить придётся как-то в любом случае.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-09-27T13:28:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=149781#p149781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание цифры с картинки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=149780#p149780" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Приношу извинения! Забыл про существование отдельной ветки</p>]]></content>
			<author>
				<name><![CDATA[lost]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41514</uri>
			</author>
			<updated>2021-09-27T11:53:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=149780#p149780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание цифры с картинки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=149779#p149779" />
			<content type="html"><![CDATA[<p><strong>lost</strong>, топики по играм должны быть в соответствующей ветке, переношу.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-09-27T11:35:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=149779#p149779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Считывание цифры с картинки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=149777#p149777" />
			<content type="html"><![CDATA[<p>В одной сессионке есть таблица игроков отсортированная по заработанным очкам. Выглядит все так:<br /><span class="postimg"><img src="https://image.prntscr.com/image/mfKo0uJGTFi2UbSrAz0twA.png" alt="https://image.prntscr.com/image/mfKo0uJGTFi2UbSrAz0twA.png" /></span><br />Из всего списка интересует лишь желтое значение(мои очки) и позиция ее заранее неизвестна.<br />Задача: Среагировать на любое ненулевое значение моих очков.<br />Сложность заключется в том что фон таблицы полупрозрачный и ImageSearch тут не поможет. <br />Примерно представляю что сам поиск этих очков можно организовать взяв скриншот каждой области, просуммировать в каждой их них пиксели поцветно и выявить тот где преобладают зеленые и красные цвета. Но какможно отличить 0 от не нуля? Может есть библиотека которая умеет читать цирфы с картинки? Может я слишком все усложняю и есть более простой способ? </p><p>P.S. Память игры читать нельзя, работает EasyAntiCheat</p>]]></content>
			<author>
				<name><![CDATA[lost]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41514</uri>
			</author>
			<updated>2021-09-27T10:06:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=149777#p149777</id>
		</entry>
</feed>
