MATLAB: Please the project is on image recognition. this will be interfaced to a raspberry pi and the output will be through voice. i need the coding that will implement this. thanks

MATLAB and Simulink Student Suiteobject recognitionrpitext to speechusb camera

the project topic is: Design and Development of an intelligent walking stick for the blind

Best Answer

The one part I can help with is "text to speech" like you tagged it.
Try this code:
% Program to do text to speech.
% Get user's sentence
userPrompt = 'What do you want the computer to say?';
titleBar = 'Text to Speech';
defaultString = 'Hello World! MATLAB is an awesome program!';
caUserInput = inputdlg(userPrompt, titleBar, 1, {defaultString});
if isempty(caUserInput)
return;
end; % Bail out if they clicked Cancel.
caUserInput = char(caUserInput); % Convert from cell to string.
NET.addAssembly('System.Speech');
obj = System.Speech.Synthesis.SpeechSynthesizer;
obj.Volume = 100;
Speak(obj, caUserInput);