Gsllchb / Handright
Licence: bsd-3-clause
A lightweight Python library for simulating Chinese handwriting
Stars: ✭ 634
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Handright
kula
Lightweight and highly extensible .NET scripting language.
Stars: ✭ 43 (-93.22%)
Mutual labels: lightweight, chinese
Borgert Cms
Borgert is a CMS Open Source created with Laravel Framework 5.6
Stars: ✭ 298 (-53%)
Mutual labels: chinese, image
Landscapist
🍂 Jetpack Compose image loading library which can fetch and display network images using Glide, Coil, and Fresco.
Stars: ✭ 264 (-58.36%)
Mutual labels: library, image
Slideimageview
Simple and convenient library that allows you to slide images through a view.
Stars: ✭ 227 (-64.2%)
Mutual labels: library, image
Ptshowcaseviewcontroller
An initial implementation of a "showcase" view( controller) for iOS apps... Visualizes images, videos and PDF files beautifully! (by @pittleorg) [meta: image, photo, video, document, pdf, album, gallery, showcase, gallery, iOS, iPhone, iPad, component, library, viewer]
Stars: ✭ 395 (-37.7%)
Mutual labels: library, image
Aff3ct
A fast simulator and a library dedicated to the channel coding.
Stars: ✭ 240 (-62.15%)
Mutual labels: library, simulation
Simple Php Router
Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
Stars: ✭ 279 (-55.99%)
Mutual labels: library, lightweight
React Indiana Drag Scroll
React component which implements scrolling via holding the mouse button or touch
Stars: ✭ 190 (-70.03%)
Mutual labels: library, lightweight
Fbg
Lightweight C 2D graphics API agnostic library with parallelism support
Stars: ✭ 349 (-44.95%)
Mutual labels: library, lightweight
Structopt
Parse command line arguments by defining a struct
Stars: ✭ 323 (-49.05%)
Mutual labels: library, lightweight
Libonnx
A lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
Stars: ✭ 217 (-65.77%)
Mutual labels: library, lightweight
Jvedio
Windows desktop application to manage local video;Support baidu AI, youdao translation;Support FFMPEG video processing;Support multi-database management and statistics;Support skin switching
Stars: ✭ 545 (-14.04%)
Mutual labels: library, image
Jsontreeviewer
json formatter/viewer/pretty-printer (with jsonTree javascript-library)
Stars: ✭ 211 (-66.72%)
Mutual labels: library, lightweight
Ptimagealbumviewcontroller
"Image Album" — or "Photo Album" if you like that better — View( Controller) for all crazy iOS developers out there...
Stars: ✭ 199 (-68.61%)
Mutual labels: library, image
Bottomsheet Imagepicker
Modern image picker for Android
Stars: ✭ 267 (-57.89%)
Mutual labels: library, image
Isobmff
C++ Library for ISO/IEC 14496-12 - ISO Base Media File Format (QuickTime, MPEG-4, HEIF, etc)
Stars: ✭ 157 (-75.24%)
Mutual labels: library, image
Media Watermark
GPU/CPU-based iOS Watermark Library for Image and Video Overlay
Stars: ✭ 170 (-73.19%)
Mutual labels: library, image
Kiimagepager
The KIImagePager is inspired by foursquare's ImageSlideshow, the user may scroll through images loaded from the Web
Stars: ✭ 324 (-48.9%)
Mutual labels: library, image
React Native Blurhash
🖼️ A library to show colorful blurry placeholders while your content loads.
Stars: ✭ 430 (-32.18%)
Mutual labels: library, image
Handright
A lightweight Python library for simulating Chinese handwriting
Tutorial | Release Notes | Contributing
Vision
Reveal the nature of Chinese handwriting and use it to implement beautiful, simple and easy-to-use interfaces.
Algorithm
首先,在水平位置、竖直位置和字体大小三个自由度上,对每个字的整体做随机扰动。随后,在水平位置、竖直位置和旋转角度三个自由度上,对每个字的每个笔画做随机扰动。
Installation
pip install handright
Quick Start
# coding: utf-8
from PIL import Image, ImageFont
from handright import Template, handwrite
text = "我能吞下玻璃而不伤身体。"
template = Template(
background=Image.new(mode="1", size=(1024, 2048), color=1),
font_size=100,
font=ImageFont.truetype("path/to/my/font.ttf"),
)
images = handwrite(text, template)
for im in images:
assert isinstance(im, Image.Image)
im.show()
更多信息请参阅Tutorial。
Join Us
扫码或点击链接加入Handright社区:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].