Реши
Creado el: 1 de abril de 2026
Respondido usando GPT-5.4 Thinking por Chat01
Creado el: 1 de abril de 2026
Respondido usando GPT-5.4 Thinking por Chat01
Реши
pythonfrom PIL import Image img = Image.open('/mnt/data/IMG_20260401_110921.jpg') img.size (3072, 4096)
pythonimport matplotlib.pyplot as plt, numpy as np img_np=np.array(img) plt.figure(figsize=(8,10)) plt.imshow(img_np) plt.axis('off');
pythonrot=img.rotate(90, expand=True) plt.figure(figsize=(12,6)) plt.imshow(rot) plt.axis('off');
pythoncrop=np.array(rot) plt.figure(figsize=(10,4)) plt.imshow(crop[:, :500]) plt.xlim(0,500); plt.ylim(200,0); plt.grid() plt.show()
pythonplt.figure(figsize=(12,4)) plt.imshow(rot) plt.xlim(0,700); plt.ylim(350,0); plt.grid() plt.show()
Если на фото записано
то решение такое:
Используем формулу:
Тогда
Получаем:
Ответ:
Если хочешь, я могу ещё расписать совсем по-школьному, по шагам.