WorksheetsArtificial Intelligence -Voice Selfie
Total questions: 15
Worksheet time: 15mins
Which code saves the picture in the name of mySelfie.png
<a href=" " id="link" download="mySelfie.png"></a>
<a href=" " id="link" save="mySelfie.png"></a>
<a href=" " id="link" save="myselfie.png"></a>
Choose the correct API which recognise the speech and convert to text
webkitRecognition
webkitSpeechRecognition
webSpeechAPIRecognition
The actual content spoken is available in
content
transcript
label
confidence
AI means training the computer to learn, think and answer like a human.
True
False
Choose the correct statements about WebSpeechAPI
Special library created by Google Chrome developers
Trained on many languages
can be used freely to make a computer understand what is spoken
It cannot respond back
speechSynthesis is an API which converts
text to speech
speech to text
both
triggers the system to speak whatever is passed inside this speak function
utter()
speak()
speech()
Which is the correct sequence in configuring the webcam?
Setting the Webcam and Attaching the Webcam
Attaching the Webcam and Setting the Webcam
none
Pick the odd man out of Webcam.set()
png_quality (or) jpeg_quality
image_quality
width
height
image_format
Choose the correct option
Webcam.set({
width: 300,
height:300,
image_format: 'png',
png_quality: 90
});
Webcam.set({
width: 300;
height:300;
image_format: 'png';
png_quality: 90;
})
Webcam.set({
width: 300,
height:300,
image_format: 'jpg',
png_quality: 90
});
Webcam.set({
width: 300,
height:300,
image_format: 'jpg',
image_quality: 90
});
Displays the webcam live view in the HTML element
Webcam.set()
Webcam.attach()
predefined function of webcam.js which is used to take a selfie
Webcam.snap()
Webcam.set()
Webcam.attach()
used to show preview of the image which generates after taking a snapshot.
function(data_uri)
function(data_url)
setTimeout(function(){
},500)
Delays the process by 500 seconds
Delays the process by half second
Delays the process by 500 milliseconds
Delays the process by 5000 milliseconds
link.click() --> automatically downloads the image only when
"link" holds the anchor tag element with a download attribute
src of the selfie image is which is being captured is provided
none
