Introduction to Ruby
A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Since its public release in 1995, Ruby has drawn devoted coders worldwide. In 2006, Ruby achieved mass acceptance. With active user groups formed in the world’s major cities and Ruby-related conferences filled to capacity. Learn More
Aspose.BarCode for Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.
Aspose.BarCode for Cloud allows developers to quickly and easily add barcode generation and recognition functionality to their applications. Learn More
New Barcode Features in the Aspose Cloud SDK for Ruby
We have implemented the following functions in the Aspose Cloud Ruby SDK:
- Read barcode from external image URL – This feature allows you to read a barcode from an external image URL.
- Read barcode from specific image region – This feature allows you to read a barcode from specific region of an image on Aspose Cloud Storage.
- Recognize barcode with checksum option from storage – This feature allows you to read a barcode with the checksum option on Aspose Cloud Storage.
- Recognize a specified count of barcodes – This feature allows you to recognize a specific number of barcodes on Aspose Cloud Storage.
You can download the latest version of the Ruby SDK from:
Read Barcode from External Image URL
# Require asposecloudsdk require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/asposecloud' app_sid = 'XXXXXXXXXX' app_key = 'XXXXXXXXXX' Aspose::Cloud::Common::AsposeApp.app_key = app_key Aspose::Cloud::Common::AsposeApp.app_sid = app_sid Aspose::Cloud::Common::Product.set_base_product_uri('http://api.aspose.com/v1.1') # Create object of barcode reader class reader = Aspose::Cloud::Barcode::Reader.new('barcode.jpg') # Read a barcode image from url url = 'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Code_3_of_9.svg/262px-Code_3_of_9.svg.png' result = reader.read_from_url(url, 'Code39Standard') puts result
Start a Free Trial Today
Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.