Cognitive
Cognitive
Aktiviteler
Color Detection
Using the Color Detection activity, you can transfer the output of the colors in an image selected using the Path Choose or Image Path lines to a variable in collection format. If you want to determine the maximum number of colors you can find in the image, you can use the Top Count line and write the maximum number of colors as numbers. In addition, if you do not want to retrieve unwanted color ranges, you can select the Distinct line as “True” and write the color or colors you do not want in the Excluded Colors line by separating them with semicolons (;).
![](/wp-content/uploads/2023/08/Color-Detection-1.webp)
![](/wp-content/uploads/2023/08/Color-Detection-2.webp)
![](/wp-content/uploads/2023/08/Color-Detection-3.webp)
Duckling Get
The Duckling Get activity parses out the text into structured data. As can be seen in the screenshot, you can parse out the text ($45) written in the text input into structured data with this activity, and see that this value is 45 and reach the details of the monetary unit via the output.
![](/wp-content/uploads/2023/08/Duckling-Get-1.webp)
![](/wp-content/uploads/2023/08/Duckling-Get-2.webp)
![](/wp-content/uploads/2023/08/Duckling-Get-3.webp)
Extract Images From PDF
Using the Extract Images From Pdf activity, you can save the output of the pictures in the pdf to any destination you want in bmp, tiff, jpeg, gif, png and vmf formats. You can also learn the number of pictures in the pdf via the output and use it in the scenario.
Input Parameters
Pdf Path: Path to pdf file
Pdf Path Choose: Pdf file selection
Image Path: Image file path
Image Path Choose: Image file selection
Image Name: The name to be given for the image to be taken from the pdf.
Pdf Password: Pdf password if available
Start Page: The starting page number
End Page: End page number
Save As Type: Images can be saved in bmp, tiff, jpeg, gif, png and vmf formats.
![](/wp-content/uploads/2023/08/Extract-Images-From-PDF-1.webp)
![](/wp-content/uploads/2023/08/Extract-Images-From-PDF-2.webp)
![](/wp-content/uploads/2023/08/Extract-Images-From-PDF-3.webp)
Fix Low Quality PDF
The Fix Low Quality PDF activity is used to enhance the resolution of PDF files with low image quality. The path information of the PDF with low resolution is written on the first line, and the path information of the PDF file that will be created after the process is written on the second line. If you want, you can select files and folders by using PDF Path Choose and Fixed PDF Path Choose lines.
![](/wp-content/uploads/2023/08/Fix-Low-Quality-PDF-1.webp)
Image to Text
Using the Image to Text activity, you can transfer textual and numeric expressions on an image to a variable.
![](/wp-content/uploads/2023/08/Image-to-Text-1.webp)
![](/wp-content/uploads/2023/08/Image-to-Text-2.webp)
![](/wp-content/uploads/2023/08/Image-to-Text-3.webp)
Location From Image
Using the Location From Image activity, you can get an address output from the location information contained in the image given in the input. In order for this feature to be able to be used, the GPS data of the picture taken must be included in the properties of the image. It can be done by adding an image from any website with GPS data to the URL parameter. The API Key, which will be obtained from the Geocoding API section from https://developers.google.com/maps/ must be entered in the Api Key parameter.
For example, when the activity is run for the image below, the result will be like this.
![](/wp-content/uploads/2023/08/Location-From-Image-1.webp)
![](/wp-content/uploads/2023/08/Location-From-Image-2.webp)
![](/wp-content/uploads/2023/08/Location-From-Image-3.webp)
![](/wp-content/uploads/2023/08/Location-From-Image-4.webp)
NLP Lang Id
Using the NLP Lang Id activity, you can learn the language code of the sentence you wrote on the Text line. For example, it will give the code “tr” for the sentence “internete giremiyorum” and “en” for the sentence “What is your name?”
![](/wp-content/uploads/2023/08/NLP_Lang_Id-1.webp)
![](/wp-content/uploads/2023/08/NLP_Lang_Id-2.webp)
NLP Lemma
Using the NLP Lemma service, you can root the incoming texts and use them before Intent classification and sentiment analysis.
![](/wp-content/uploads/2023/08/NLP-Lemma-1.webp)
![](/wp-content/uploads/2023/08/NLP-Lemma-2.webp)
![](/wp-content/uploads/2023/08/NLP-Lemma-3.webp)
NLP Morphology
NLP Morphology service examines the text received in terms of linguistics. It verifies semantically confused verb-noun choices. For example, using this service, you can learn whether the word “meal” in the sentence “Meal is necessary” is a noun or a verb.
![](/wp-content/uploads/2023/08/NLP-Morphology-1.webp)
![](/wp-content/uploads/2023/08/NLP-Morphology-2.webp)
![](/wp-content/uploads/2023/08/NLP-Morphology-3.webp)
NLP Normalization
It minimizes (deascify) the text sent to it with the NLP Normalization service. It also tries to complete corrections that are not suitable for Turkish, such as misspelled words. For example; KITAPLİK > kitaplık
![](/wp-content/uploads/2023/08/NLP-Normalization-1.webp)
![](/wp-content/uploads/2023/08/NLP-Normalization-2.webp)
![](/wp-content/uploads/2023/08/NLP-Normalization-3.webp)
NLP Tokenization
The NLP Tokenization service divides the text sent to it into its tokens (words and punctuation).
![](/wp-content/uploads/2023/08/NLP-Tokenization-1.webp)
![](/wp-content/uploads/2023/08/NLP-Tokenization-2.webp)
![](/wp-content/uploads/2023/08/NLP-Tokenization-3.webp)
Object Detection
Using the Object Detection activity, you can detect the object of a selected image using the Path Choose or Path lines. You can find the name, ratio and location information of all objects in the picture in English.
The results obtained when object detection is performed for the image below will be like this.
![](/wp-content/uploads/2023/08/Object-Detection-1.webp)
![](/wp-content/uploads/2023/08/Object-Detection-2.webp)
![](/wp-content/uploads/2023/08/Object-Detection-3.webp)
PDF To Excel
Using the PDF To Excel activity, you can convert your PDFs to Excel format.
Note: It is important that your PDFs that you want to convert to Excel format are prepared in digital environment and their quality is important.
![](/wp-content/uploads/2023/08/PDF-to-Excel-1.webp)
![](/wp-content/uploads/2023/08/PDF-to-Excel-2.webp)
PDF To Text
Using the PDF to Text activity, you can transfer the data in the PDF to a variable.
![](/wp-content/uploads/2023/08/PDF-to-Text-1.webp)
![](/wp-content/uploads/2023/08/PDF-to-Text-2.webp)
![](/wp-content/uploads/2023/08/PDF-to-Text-3.webp)
![](/wp-content/uploads/2023/08/PDF-to-Text-4.webp)
Text Translate
Using the Text Translate activity, you can translate the entered text into the desired language. To do this, it will be sufficient for you to enter the text you want to be translated and make a selection in the source language and target language lines.
![](/wp-content/uploads/2023/08/Text-Translate-1.webp)
![](/wp-content/uploads/2023/08/Text-Translate-2.webp)