Skip to content

aetherwu/CameraPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Forked

A personal assistant that bases on camera and QR.

Components:
Recognize QR in NSimage: ZXing
Volume button handler: JPSVolumeButtonHandler
Network: AFNetworking

##QR for testing:

##Data flow structure

get '/agent/:agent_id' do
	content_type :json
	{
		#do you want to?..
		:step => 0,
		:play => 'http://tapget.com/audios/a1.mp3', 
		:process => 'http://lostpub.com/process/1',
		:nextinput => 'tap',
		:next => {
			#doing
			:step => 1,
			:play => 'http://tapget.com/audios/a2.mp3',
			:process => "http://lostpub.com/process/2",
			:nextinput => 'auto',
			:next => {
				#get the latest result
				:step => 2,
				:play => 'http://tapget.com/audios/a3.mp3', #dynamic generated?
				:process => '',
				:nextinput => '',
				:next => ''
			}
		}
	}.to_json
end

License (MIT)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages