Machine Learning Projects for Mobile Applications by Karthikeyan NG

Machine Learning Projects for Mobile Applications by Karthikeyan NG

Author:Karthikeyan NG
Language: eng
Format: epub
Tags: COM016000 - COMPUTERS / Computer Vision and Pattern Recognition, COM004000 - COMPUTERS / Intelligence (AI) and Semantics, COM044000 - COMPUTERS / Neural Networks
Publisher: Packt Publishing
Published: 2018-10-31T09:37:25+00:00


Step one: creating a FirebaseVisionImage object

After the options are built, we can go ahead with recognition. Similar to what we did with face detection, the FirebaseVisionImage object can be created from either a bitmap, ByteBuffer, media.Image, ByteArray, or file on the device.

From bitmap

Let's create this instance of a FirebaseVisionImage using a bitmap. To begin, let's pass a bitmap into the fromBitmap() method, which will give us back a FirebaseVisionImage:

FirebaseVisionImage image = FirebaseVisionImage.fromBitmap(bitmap);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.