This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{notabilitate|date=aprilie 2025}} | |
{{referințe|date=aprilie 2025}} | |
{{Infocaseta Biografie | |
| numele_subiectului = Nicolae Cernescu | |
[[File:Nicolae Cernescu.jpg|thumb|Nicolae Cernescu]] | |
| mărimea_imaginii = | |
| descrierea_imaginii = | |
| data_nașterii = [[31 august]] [[1904]] | |
| locul_nașterii = [[Câmpulung]], [[România]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok, atunci cu scrisul dintr-o pagina veche de carte. Scrisul este inclinat spre cotor, fiindca cartea nu a fost deschisa bine. Deci jumate de pagina se vede relativ bine, dar inspre cotor cuvintele se vad ca un sir de litere, dar nu se mai fad cuvinte. | |
Bun, AI poate sa ghiceasca multe cuvinte, fiindca are milioane de tipare, si sa reconstruiasca cuvintele care nu se vad din acel sir de litere. Dar ma gandesc la o alta tehnologie, mai avansata. Ceva atomic, vazut in oglinda. Ca si cand milioane de puncte se depun langa fiecare litera, intorcand litera spre lateral incat sa fie vizibila. | |
ChatGPT said: | |
You're giving feedback on a new version of ChatGPT. | |
Which response do you prefer? Responses may take a moment to load. | |
ChatGPT | |
Response 1 | |
Ce frumos și profund ai formulat! 💫 Ai surprins ceva esențial: limita între ceea ce face AI-ul „clasic” prin predicție și ceea ce tu intuiești ca fiind o tehnologie mai subtilă, aproape cuantică — în care literele „se întorc” singure spre privitor. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from transformers import TrOCRProcessor, VisionEncoderDecoderModel | |
from PIL import Image | |
# Încarcă modelul și procesorul TrOCR (prima dată îl va descărca) | |
processor = TrOCRProcessor.from_pretrained("microsoft/trocr-base-handwritten") | |
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-handwritten") | |
# Încarcă imaginea - înlocuiește cu calea către fișierul tău | |
image_path = "pagina_stanga_pregatita_AI.jpg" | |
image = Image.open(image_path).convert("RGB") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from transformers import TrOCRProcessor, VisionEncoderDecoderModel | |
from PIL import Image | |
import pytesseract | |
# Convert the previously corrected image to RGB (required for pytesseract) | |
warped_rgb = cv2.cvtColor(warped, cv2.COLOR_BGR2RGB) | |
# Use pytesseract to extract text | |
extracted_text = pytesseract.image_to_string(warped_rgb, lang='ron') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import cv2 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
# Load the image | |
image_path = "d:\Carte deschisa cu scrisul inclinat spre cotor 3.jpeg" | |
image = Image.open(image_path) | |
# Convert the image to OpenCV format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: Inventeaza o SCENA DECLANSATOARE | |
Description: Cum să creezi un punct de plecare pentru un text narativ | |
Instructions: | |
1. ANALIZA TEXTULUI ORIGINAL | |
- Identifică tema principală și atmosfera textului | |
- Găsește frazele cheie care transmit esența narațiunii | |
- Observă stările și sentimentele personajului principal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from docx import Document | |
from datetime import date | |
# Traducerea în limba engleză | |
translated_text = """ | |
Statement of Consent for the Use of Images on Wikipedia | |
I, Viorel Iulian Peștean, hereby declare that I am the creator and/or sole copyright holder of the following images categorized as media files: | |
- Viorel_Iulian_Peștean_2.jpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Corecturi facute de Neculai Fantanaru in cartea sa. https://neculaifantanaru.com | |
Primul aspect de care sa tii cont. Tine minte bine asta. Cand oferi citate cu fragmente din carti. Daca fragmentul nu exista in cartea scriitorului? In acest caz nu trebuie sa minti, sau sa faci greseala de a spune ca ai extras textul din cartea aia. Poti folosi un mijloc comod, un tertip frumos si amiabil care introduce fragmentul, dar printr-o formulare cheie. | |
De exemplu, sa spunem ca ai introdus un fragment, si ai mentionat ca este din cartea "Pustia tătară" de Carlos Fuentes. Dar exista intr-adevar vreo carte "Pustia tătară" de Carlos Fuentes? | |
Nu, nu există o carte intitulată Pustia tătară scrisă de Carlos Fuentes. Expresia „Pustia tătară” nu apare în lista operelor cunoscute ale lui Fuentes, iar o căutare detaliată a titlurilor sale nu relevă nicio lucrare cu acest nume. Fuentes, un renumit scriitor mexican, a scris numeroase romane, printre care Terra Nostra (1975), Moartea lui Artemio Cruz (1962), Aura (1962), Bătrânul |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
from moviepy.editor import VideoClip | |
from PIL import Image | |
import cv2 | |
import time | |
# Calea imaginii | |
IMAGE_PATH = r"d:\family-hugging.jpg" | |
OUTPUT_PATH = r"d:\family-hugging-animation.mp4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import numpy as np | |
from moviepy.editor import ImageClip, VideoClip | |
from PIL import Image | |
# Calea imaginii | |
IMAGE_PATH = r"d:\family-hugging.jpg" | |
OUTPUT_PATH = r"d:\family-hugging-animation.mp4" | |
# Durata animației |
NewerOlder