Otary — это современная и интуитивно понятная Python-библиотека для работы с изображениями и 2D-геометрией, объединяющая простоту, наглядность и высокую производительность.
Прочитать изображение из PDF, нарисовать эллипс, обрезать, повернуть, применить порог и отобразить:
import otary as ot
im = ot.Image.from_pdf("path/to/your/file.pdf", page_nb=0)
ellipse = ot.Ellipse(foci1=[100, 100], foci2=[400, 400], semi_major_axis=250)
im = (
im.draw_ellipses([ellipse])
.crop(x0=50, y0=50, x1=450, y1=450)
.rotate(angle=90, is_degree=True)
.threshold_simple(thresh=200)
)
im.show()
#Python #Otary #ImageProcessing #ComputerVision #DataScience #OpenCV #Geometry #PDF #Jupyter #AItools #DevTools
https://github.com/poupeaua/otary
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - poupeaua/otary: Otary — elegant, readable, and powerful image and 2D geometry Python library.
Otary — elegant, readable, and powerful image and 2D geometry Python library. - poupeaua/otary
1👍2🔥2
Depth Anything 3 — модель, которая восстанавливает 3D из любых картинок
Представьте модель, которая может понять глубину и форму сцены практически из любых изображений — одного фото, нескольких кадров или даже видео.
Это и делает Depth Anything 3 (DA3).
Именно поэтому DA3 работает стабильнее и точнее предыдущих моделей — как для одного кадра, так и для нескольких видов.
#depthanything #da3 #3dvision #ai #computerVision #deeplearning #geometry #monocular #multiview #pytorch #opensource
https://github.com/ByteDance-Seed/Depth-Anything-3
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - ByteDance-Seed/Depth-Anything-3: Depth Anything 3
Depth Anything 3. Contribute to ByteDance-Seed/Depth-Anything-3 development by creating an account on GitHub.
1 3 2👍1
Trueform — это библиотека для геометрической обработки в реальном времени: пространственные запросы, булевы операции над сетками, изоконтуры, топология — интерактивно на ме́шах в миллионы полигонов.
std::vector или NumPy‑массивами без конвертации.auto [dist2, pt_on_poly, pt_on_seg] = tf::closest_metric_point_pair(polygon, segment);
bool contains = tf::contains_point(polygon, point);
auto hit = tf::ray_hit(ray, polygon);
pip install trueform
python -m trueform.conan create # TBB автоматически
#trueform #Geometry #Meshes #C++ #Python #VTK #Blender #CAD #ComputationalGeometry #3DProcessing
https://github.com/polydera/trueform
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - polydera/trueform: The STL for geometry. Fast and exact mesh booleans, spatial queries, arrangements, and remeshing. C++…
The STL for geometry. Fast and exact mesh booleans, spatial queries, arrangements, and remeshing. C++ with Python and TypeScript bindings. - polydera/trueform
1 4🤔2