All Projects → hanuor → Onyx

hanuor / Onyx

Licence: apache-2.0
An android library that uses technologies like artificial Intelligence, machine learning, and deep learning to make developers understand the content that they are displaying in their app.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Onyx

Sweet xml
Stars: ✭ 279 (-20.74%)
Mutual labels:  stream
Bytesize
ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented. ByteSize is to bytes what System.TimeSpan is to time.
Stars: ✭ 309 (-12.22%)
Mutual labels:  bytes
How To Stream Movies Using Nodejs
🎥 How to Stream Movies to a HTML 5 video tag using NodeJS
Stars: ✭ 336 (-4.55%)
Mutual labels:  stream
Facebook Live Reactions
The easiest way to create interactive Facebook live streams. Displays reaction count and live shoutouts :)
Stars: ✭ 284 (-19.32%)
Mutual labels:  stream
Legalstream
An m3u8 playlist featuring many LEGALLY FREE IPTV streams. For use with VLC.
Stars: ✭ 299 (-15.06%)
Mutual labels:  stream
Mac Local Rtmp Server
Local RTMP Streaming Server
Stars: ✭ 323 (-8.24%)
Mutual labels:  stream
Js Crc32
🌀 JS standard CRC-32 implementation
Stars: ✭ 271 (-23.01%)
Mutual labels:  bytes
Obs Studio Webrtc
This is a fork of OBS-studio with generic support for webrtc. It leverages the same webrtc implementation most browsers use.
Stars: ✭ 343 (-2.56%)
Mutual labels:  stream
Compressed Size Action
GitHub Action that adds compressed size changes to your PRs.
Stars: ✭ 300 (-14.77%)
Mutual labels:  bytes
Pyinstalive
Python script to download Instagram livestreams and replays.
Stars: ✭ 336 (-4.55%)
Mutual labels:  stream
Blazorfilereader
Library for creating read-only file streams from file input elements or drop targets in Blazor.
Stars: ✭ 278 (-21.02%)
Mutual labels:  stream
Orion
Cross platform Twitch.tv client
Stars: ✭ 298 (-15.34%)
Mutual labels:  stream
File
The Hoa\File library.
Stars: ✭ 322 (-8.52%)
Mutual labels:  stream
Multistreamer
[discontinued] A webapp for publishing video to multiple streaming services at once.
Stars: ✭ 281 (-20.17%)
Mutual labels:  stream
Rxgo
Reactive Extensions for the Go language.
Stars: ✭ 3,907 (+1009.94%)
Mutual labels:  stream
Hisocket
It is a lightweight client socket solution, you can used it in C# project or Unity3d
Stars: ✭ 275 (-21.87%)
Mutual labels:  bytes
Stream
The Hoa\Stream library.
Stars: ✭ 313 (-11.08%)
Mutual labels:  stream
Bstr
A string type for Rust that is not required to be valid UTF-8.
Stars: ✭ 348 (-1.14%)
Mutual labels:  bytes
Magnet Player
🎥 A place for streaming torrents directly from your browser
Stars: ✭ 346 (-1.7%)
Mutual labels:  stream
Gradio
Stars: ✭ 335 (-4.83%)
Mutual labels:  stream

Android Arsenal
API AppVeyor

onyx


Onyx is a library for android that can be used by developers to understand what type of content they are enabling inside their apps. An example can be to limit adult content in apps specifically made for children. Through Onyx you can get the characteristics of an image and then determine if you want to block it or allow it. The possibilities are endless, there can be a zillion use case scenarios. Onyx is proud to be powered by world's best visual recognition technology - Clarifai.
Note - The gathering of information about the images is done through the implementation of technologies like Artificial intelligence, machine learning, and deep learning.


Code is under maintainence.

For now the default branch is set to develop. Some features may not work as expected. If you wish to contribute then use the code from the master branch.

Download

Using Gradle: under dependencies section:

compile 'com.hanuor.onyx:onyx:1.1.4'  

or Using Maven:

<dependency>
<groupId>com.hanuor.onyx</groupId>
<artifactId>onyx</artifactId>
<version>1.1.4</version>
<type>pom</type>
</dependency>    

or Using Ivy:

 <dependency org='com.hanuor.onyx' name='onyx' rev='1.1.4'>
 <artifact name='$AID' ext='pom'></artifact>
 </dependency>	    

Documentation

Getting tags for an Image

Pretty simple -
Use .getTagsfromApi() method. Example is given below

 Onyx.with(Context context).fromURL(String url).getTagsfromApi(new OnTaskCompletion() {
                @Override
                public void onComplete(ArrayList<String> response) {
                    //get an arraylist of tags here
                    //do whatever you want here
                        
                  }
            });
        }
    });

Getting tags as well as their probability of occurring

Use the .getTagsandProbability() method. Example is given below

  Onyx.with(Context context).fromURL(String url).getTagsandProbability(new OnTaskCompletion() {
                @Override
                public void onComplete(ArrayList<String> response) {
                   //results will be in the form of array-list
				   //for eg. - [Mammal-0.9972132, Wolf-0.9962321, Snow-0.993212]
				   //Do whatever you want to do here
                }
            });

Getting tags from a video (Whaaaaa......a!)

Convert video into a stream of byte[]. and see the example below.

 Onyx.with(Context context).fromVideoArray(byte[] videoArray).getTagsfromApi(new OnTaskCompletion() {
				@Override
                public void onComplete(ArrayList<String> response) {
                   //results will be in the form of array-list
				   //Do whatever you want to do here
                }
            });       

Getting tags and their probability of occurring from a video

Convert video into a stream of byte[]. and see the example below.

 Onyx.with(Context context).fromVideoArray(byte[] videoArray).getTagsandProbability(new OnTaskCompletion() {
				@Override
                public void onComplete(ArrayList<String> response) {
                   //results will be in the form of array-list
				   //for eg. - [Mammal-0.9972132, Wolf-0.9962321, Snow-0.993212]
				  
				   //Do whatever you want to do here
                }
            });  

Compatibility

Minimum Android SDK: Onyx requires a minimum API level of 7.


Special thanks to:

Clarifai

Please do notify us if you're using our library in your app. We'd be more than happy to list your app here!

###How it looks like?
Screenshot
Onyx demo app


License

Copyright 2016 Hanuor.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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].