51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#图像识别文字
e669. 绘制缓冲图像
Todrawonabufferedimage,createagraphicscontextonthebufferedimage.//CreateagraphicscontextonthebufferedimageGraphics2Dg2d=bimage.createGraphics();//Drawontheimage...
代码星球
·
2021-02-11
e669.
绘制
缓冲
图像
e664. 在图像中获取子图像
//FromanImageimage=createImage(newFilteredImageSource(image.getSource(),newCropImageFilter(x,y,w,h)));//FromaBufferedImagebufferedImage=bufferedImage.getSubimag...
代码星球
·
2021-02-11
图像
e664.
获取
e672. 缩放,剪取,移动,翻转缓冲图像
AffineTransformtx=newAffineTransform();tx.scale(scalex,scaley);tx.shear(shiftx,shifty);tx.translate(x,y);tx.rotate(radians,bufferedImage.getWidth()/2,bufferedIm...
代码星球
·
2021-02-11
e672.
缩放
剪取
移动
翻转
e666. 创建缓冲图像
Abufferedimageisatypeofimagewhosepixelscanbemodified.Forexample,youcandrawonabufferedimageandthendrawtheresultingbufferedimageonthescreenorsaveittoafile.Abuffer...
代码星球
·
2021-02-11
e666.
创建
缓冲
图像
e670. 缓冲图像转换为图像
//ThismethodreturnsanImageobjectfromabufferedimagepublicstaticImagetoImage(BufferedImagebufferedImage){returnToolkit.getDefaultToolkit().createImage(buffe...
代码星球
·
2021-02-11
图像
e670.
缓冲
转换
e680. 使三元色图像变明变暗
ThisexampledemonstrateshowtobrightenordarkenanRGBbufferedimagebyscalingthered,green,andbluevaluesintheimage.//Tocreateabufferedimage,seee666创建缓冲图像//Brightenthei...
代码星球
·
2021-02-11
e680.
三元
图像
变明
变暗
e638. 向剪切板获取和粘贴图像
//Ifanimageisonthesystemclipboard,thismethodreturnsit;//otherwiseitreturnsnull.publicstaticImagegetClipboard(){Transferablet=Toolkit.getDefaultToolkit().getSyst...
代码星球
·
2021-02-11
e638.
剪切板
获取
粘贴
图像
char类型能否存储一个中文字符?为什么
char类型能否存储一个中文字符?为什么 解答:可以。一个char是两个字节,而一个中文也是两个字节。...
代码星球
·
2021-02-11
char
类型
能否
存储
一个
PHP图片和文字合成函数刚刚出炉
PHP图片和文字合成函数刚刚出炉publicfunctioncreateOnlineCourseCertsImgFront(){//照片$path_2=ROOT_PATH.'public/uploads/certsimg/12.png';//背景图片$path_1=ROOT_PATH.'public/uploads/c...
代码星球
·
2021-02-11
PHP
图片
文字
合成
函数
PHP文字合成图片的函数刚写完验证OK
PHP文字合成图片的函数刚写完验证OKpublicfunctioncreateOfficialCertsImg($id=0,$type=1){$official_certs_id=$id;//获取证书详细信息$certinfo=db('official_certs')->where('id='.$official...
代码星球
·
2021-02-11
PHP
文字
合成
图片
函数
php使用imagettftext()函数有干扰线但是没有文字的问题解决
publicfunctioncode(){//主要参数if($font_size==0)$font_size=20;if($img_width==0)$img_width=110;if($img_height==0)$img_height=50;if($word_type==0)$word_type=3;//1:数字2...
代码星球
·
2021-02-11
php
使用
imagettftext
函数
干扰
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务解决
问题:Oracle主服务和监听器服务已经启动,使用SQLPlus能够正常连接,使用PLSQLDeveloper连接报次错误:ORA-12514:TNS:监听程序当前无法识别连接描述符中请求的服务。如图: 解决:打开H:Oracleproduct11.2.0dbhome_1NETWORKADMIN(不同机器目录...
代码星球
·
2021-02-11
ORA-12514
TNS
监听
程序
当前
pdf批量识别为文字的工具包
1、pdf阅读器adobeacrobatDC v201900820074 可以识别pdf书中的文字(图片上选择区域右键选复制,软件会自动ocr) 把pdf每一页导出为图片2、Tesseract-OCR 把图片识别为文本文件,google的开源项目tesseract"F:pdfTotxtpdf...
代码星球
·
2021-02-11
pdf
批量
别为
文字
工具包
字体识别
...
代码星球
·
2021-02-11
字体
识别
freeswitch自动接听(用于测试asr识别)
拨号计划:<extensionname="auto1"><conditionfield="destination_number"expression="^(4001)$"><actionapplication="set"data="robotring=${sounds_dir}/music...
代码星球
·
2021-02-11
freeswitch
自动
接听
用于
测试
首页
上一页
...
6
7
8
9
10
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他