合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
Class Info |
|---|
public class HmsScanFrame 扫码图像封装类,包含了图像类别等内容。 |
Constructor name |
|---|
HmsScanFrame(Bitmap bitmap) HmsScanFrame的支持Bitmap图像的构造方法。 |
HmsScanFrame(YuvImage yuvImage) HmsScanFrame的支持YUV图像的构造方法。当前仅支持NV21格式。 |
Qualifier and Type | Method Name and Description |
|---|---|
Bitmap | 调用Bitmap图像的构造方法后获取Bitmap图像。 |
int | 获取图像高度。 |
int | getWidth() 获取图像宽度。 |
YuvImage | 调用YUV图像的构造方法后获取YuvImage对象。 |
Constructor |
|---|
public HmsScanFrame(Bitmap bitmap) HmsScanFrame的支持Bitmap的构造方法。 |
Parameters
Name | Description |
|---|---|
bitmap | 条码图像信息。 |
Constructor |
|---|
public HmsScanFrame(YuvImage yuvImage) HmsScanFrame的支持YUV图像的构造方法。当前仅支持NV21格式。 |
Parameters
Name | Description |
|---|---|
yuvImage | 条码图像YUV数据。 |
Method |
|---|
public Bitmap getBitmap() 获取Bitmap图像信息。 |
Returns
Type | Description |
|---|---|
Bitmap | 解码帧。 |
Method |
|---|
public int getHeight() 获取图像高度。 |
Returns
Type | Description |
|---|---|
int | 图像高度。 |
Method |
|---|
public int getWidth() 获取图像宽度。 |
Returns
Type | Description |
|---|---|
int | 图像宽度。 |
Method |
|---|
public YuvImage getYuvImage() 获取YuvImage对象。 |
Returns
Type | Description |
|---|---|
YuvImage | YuvImage对象。 |
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功