Skip to content

Android camera app that allows photos taken from a camera, have the image processed using Microsoft's Emotion API and result sent to an MQTT server

License

Notifications You must be signed in to change notification settings

k----n/andoird-camera-emotionapi-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android Camera + Emotion API + MQTT

This is an Android camera app that allows photos taken from a camera, have the image processed using Microsoft's Emotion API and result sent to an MQTT server.

This is a toy application to test out IoT functionality with Node-RED.

This app does not directly send the image via MQTT because the payload length is limited when using IBM bluemix with Node-RED.

This code is based on https://github.com/xxv/mqtt_camera

Usage

Install the app and configure MQTT for your server/broker. Once the app is running and MQTT is configured, MQTT will attempt to connect whenever the app is open and will disconnect when navigated away.

MQTT Messages

Topic: status

This represents the MQTT connectivity status of the camera.

Payload:

  • connected - the app is running and connected to the MQTT broker
  • disconnected - the app has disconnected from the MQTT broker

Topic: image

The payload of this message is the result from Emotion API.

About

Android camera app that allows photos taken from a camera, have the image processed using Microsoft's Emotion API and result sent to an MQTT server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages