{"id":5784,"date":"2025-11-09T17:19:13","date_gmt":"2025-11-09T17:19:13","guid":{"rendered":"https:\/\/pishi.ai\/?post_type=docs&#038;p=5784"},"modified":"2026-10-08T12:38:37","modified_gmt":"2026-10-08T12:38:37","password":"","slug":"google-teachable-machine-import-pre-trained-ai-models-into-scratch","status":"publish","type":"docs","link":"https:\/\/pishi.ai\/ar\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/","title":{"rendered":"\u0622\u0644\u0629 \u062c\u0648\u062c\u0644 \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a\u0629 - \u0627\u0633\u062a\u064a\u0631\u0627\u062f \u0646\u0645\u0627\u0630\u062c \u0630\u0643\u0627\u0621 \u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0645\u062f\u0631\u0651\u0628\u0629 \u0645\u0633\u0628\u0642\u064b\u0627 \u0625\u0644\u0649 \u0633\u0643\u0631\u0627\u062a\u0634"},"content":{"rendered":"<h2>\ud83c\udfeb Google Teachable Machine &#8211; Import Pre-Trained AI Models into Scratch<\/h2>\n<p>The Google Teachable Machine extension brings advanced AI models from Google\u2019s Teachable Machine website directly into Scratch.<br \/>\nTrain powerful image, sound, or pose recognition models online &#8211; then import them into your Scratch projects with a single URL.<br \/>\nProfessional-grade machine-learning workflows made simple and accessible for students, teachers, and creators. <strong>\u2728<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"help-intro-image\" src=\"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg\" alt=\"Pishi and a blue dog illustrate image, pose, and sound models connected through a Google model URL.\" width=\"400\" height=\"400\" \/><\/p>\n<hr \/>\n<h2>\ud83c\udf1f Overview<\/h2>\n<ul>\n<li><strong>Three Model Types:<\/strong> Import image, sound, or pose classification models trained in Teachable Machine.<\/li>\n<li><strong>Unlimited Labels:<\/strong> Use any number of custom classes &#8211; no 10-label limit.<\/li>\n<li><strong>Cloud Training:<\/strong> Take advantage of Google\u2019s infrastructure for high-accuracy models.<\/li>\n<li><strong>Easy Import:<\/strong> Paste your model\u2019s shareable URL into Scratch for instant use.<\/li>\n<li><strong>Real-Time Classification:<\/strong> Get live predictions as the model recognizes images, sounds, or poses.<\/li>\n<li><strong>Camera and Video Controls:<\/strong> Show, hide, or flip the live preview to fit your setup.<\/li>\n<\/ul>\n<hr \/>\n<h2>\u2728 Key Features<\/h2>\n<ul>\n<li>Supports all three Teachable Machine model types (Image, Sound, Pose).<\/li>\n<li>Unlimited labels per model.<\/li>\n<li>Import via shareable URL or upload files.<\/li>\n<li>Confidence scores for every label.<\/li>\n<li>Adjustable classification interval and confidence threshold.<\/li>\n<li>Runs entirely in your browser after loading &#8211; <strong>fast and efficient<\/strong>.<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83d\ude80 How to Use<\/h2>\n<h3><strong>Step 1 \u2013 Train Your Model on Teachable Machine<\/strong><\/h3>\n<ol>\n<li>Go to <a href=\"https:\/\/teachablemachine.withgoogle.com\/\" target=\"_blank\" rel=\"noopener\">teachablemachine.withgoogle.com<\/a>.<\/li>\n<li>Choose a project type: <strong>Image, Audio, or Pose<\/strong>.<\/li>\n<li>Create your classes (labels), e.g., \u201cCat\u201d, \u201cDog\u201d, \u201cBird\u201d.<\/li>\n<li>Add training samples for each class:\n<ul>\n<li><strong>Images:<\/strong> Upload photos or capture via webcam.<\/li>\n<li><strong>Sounds:<\/strong> Record short audio clips.<\/li>\n<li><strong>Poses:<\/strong> Capture body positions using your webcam.<\/li>\n<\/ul>\n<\/li>\n<li>Click Train Model and wait for training to complete (1\u20135 minutes).<\/li>\n<li>Test your model in the Preview section to ensure accuracy.<\/li>\n<li><strong>Choose the Scratch-compatible export options:<\/strong>\n<ul>\n<li>For an image project, select Standard image model (224\u00d7224 color images).<\/li>\n<li>In the export window, select the Tensorflow.js tab. This is the web format used by the Scratch extension; do not choose Tensorflow or Tensorflow Lite.<\/li>\n<li>Click <strong>Export Model<\/strong>, choose <strong>Upload (shareable link)<\/strong>, and then click <strong>Upload my model<\/strong> or <strong>Update my cloud model<\/strong> (for an existing model).<\/li>\n<\/ul>\n<\/li>\n<li>Copy the shareable URL (for example: https:\/\/teachablemachine.withgoogle.com\/models\/abc123\/).<\/li>\n<\/ol>\n<h3><strong>Step 2 \u2013 Import Your Model into Scratch<\/strong><\/h3>\n<ol>\n<li>Open <a href=\"https:\/\/pishi.ai\/play\" target=\"_blank\" rel=\"noopener\">pishi.ai\/play<\/a>.<\/li>\n<li>Select the Google Teachable Machine extension.<\/li>\n<li>Allow camera or microphone access if prompted (depending on model type).<\/li>\n<li>Use one of these setup blocks:\n<ul>\n<li>\n<div id=\"block-set-image-model-url\" class=\"scratchblocks\">set image model url: [URL|text]<\/div>\n<\/li>\n<li>\n<div id=\"block-set-sound-model-url\" class=\"scratchblocks\">set sound model url: [URL|text]<\/div>\n<\/li>\n<li>\n<div id=\"block-set-pose-model-url\" class=\"scratchblocks\">set pose model url: [URL|text]<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li>Wait for the loading indicator &#8211; classification starts automatically once loaded.<\/li>\n<li>Use the detection blocks to make your sprites react to recognized labels.<\/li>\n<\/ol>\n<p><strong>Tips<\/strong><\/p>\n<ul>\n<li>Train each label with 20\u201350 diverse examples for reliable results.<\/li>\n<li>Keep lighting and sound conditions consistent with training.<\/li>\n<li>Test your model thoroughly on Teachable Machine before importing.<\/li>\n<li>Adjust classification intervals (100\u2013250 ms) for performance on older devices.<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83e\uddf1 Blocks and Functions<\/h2>\n<p>&nbsp;<\/p>\n<h3>\ud83d\uddbc\ufe0f Image Classification<\/h3>\n<div id=\"block-set-image-model-url\" class=\"scratchblocks\">set image model url: [URL|text]<\/div>\n<p>Loads an image classification model from the provided Teachable Machine URL.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"text\">URL<\/span>: paste your Teachable Machine model URL (e.g., https:\/\/teachablemachine.withgoogle.com\/models\/u87itobc\/)<\/p>\n<p><strong>What it does:<\/strong><\/p>\n<ul>\n<li>Downloads and loads the model into Scratch.<\/li>\n<li>Starts continuous image classification from the camera or stage.<\/li>\n<li>Model stays loaded until you set a different URL or reload the project.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div id=\"block-image-label\" class=\"scratchblocks\">image label<\/div>\n<p>Reports the label name of the most confidently detected image class.<br \/>\nReturns empty if no label meets the minimum confidence threshold.<\/p>\n<p><strong>Example:<\/strong> If your model detects &#8220;Cat&#8221; with high confidence, this block reports &#8220;Cat&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-when-image-detected\" class=\"scratchblocks\">when [LABEL] image detected<\/div>\n<p>Hat block that triggers when the specified image label is detected above the minimum confidence threshold.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or choose &#8220;any&#8221; to trigger on any detection.<\/p>\n<p>Use &#8220;any&#8221; to react when anything is detected with confidence.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-image-detected\" class=\"scratchblocks\">[LABEL] image detected<\/div>\n<p>Boolean block that returns true when the specified image label is currently detected.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or &#8220;any&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-confidence-of-image-label\" class=\"scratchblocks\">confidence of image [LABEL]<\/div>\n<p>Reports the confidence score (0\u20131) for the specified image label.<br \/>\nHigher values = more certain detection.<\/p>\n<p><strong>Example:<\/strong> confidence of image &#8220;Dog&#8221; might return 0.95 (95% confident).<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>\ud83d\udd0a Sound Classification<\/h3>\n<div id=\"block-set-sound-model-url\" class=\"scratchblocks\">set sound model url: [URL|text]<\/div>\n<p>Loads a sound classification model from the provided Teachable Machine URL.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"text\">URL<\/span>: paste your Teachable Machine audio model URL.<\/p>\n<p><strong>What it does:<\/strong><\/p>\n<ul>\n<li>Downloads and loads the audio model into Scratch.<\/li>\n<li>Starts continuous sound classification from your microphone.<\/li>\n<li>Listens and classifies audio in real time.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div id=\"block-sound-label\" class=\"scratchblocks\">sound label<\/div>\n<p>Reports the label name of the most confidently detected sound class.<br \/>\nReturns empty if no sound meets the minimum confidence threshold.<\/p>\n<p><strong>Example:<\/strong> If your model hears &#8220;Clap&#8221;, this block reports &#8220;Clap&#8221;.<\/p>\n<p><strong>Note:<\/strong> Background noise is automatically filtered from detection results.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-when-sound-detected\" class=\"scratchblocks\">when [LABEL] sound detected<\/div>\n<p>Hat block that triggers when the specified sound label is detected above the minimum confidence threshold.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or choose &#8220;any&#8221;.<\/p>\n<p><strong>Note:<\/strong> Background noise labels are excluded from &#8220;any&#8221; triggers.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-sound-detected\" class=\"scratchblocks\">[LABEL] sound detected<\/div>\n<p>Boolean block that returns true when the specified sound label is currently detected.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or &#8220;any&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-confidence-of-sound-label\" class=\"scratchblocks\">confidence of sound [LABEL]<\/div>\n<p>Reports the confidence score (0\u20131) for the specified sound label.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>\ud83d\udd7a Pose Classification<\/h3>\n<div id=\"block-set-pose-model-url\" class=\"scratchblocks\">set pose model url: [URL|text]<\/div>\n<p>Loads a pose classification model from the provided Teachable Machine URL.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"text\">URL<\/span>: paste your Teachable Machine pose model URL.<\/p>\n<p><strong>What it does:<\/strong><\/p>\n<ul>\n<li>Downloads and loads the pose model into Scratch.<\/li>\n<li>Starts continuous pose classification from the camera or stage.<\/li>\n<li>Detects body position and classifies based on your trained poses.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div id=\"block-pose-label\" class=\"scratchblocks\">pose label<\/div>\n<p>Reports the label name of the most confidently detected pose class.<br \/>\nReturns empty if no pose meets the minimum confidence threshold.<\/p>\n<p><strong>Example:<\/strong> If your model detects &#8220;Arms Up&#8221;, this block reports &#8220;Arms Up&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-when-pose-detected\" class=\"scratchblocks\">when [LABEL] pose detected<\/div>\n<p>Hat block that triggers when the specified pose label is detected above the minimum confidence threshold.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or choose &#8220;any&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-pose-detected\" class=\"scratchblocks\">[LABEL] pose detected<\/div>\n<p>Boolean block that returns true when the specified pose label is currently detected.<br \/>\n<span class=\"scratchblocks\" data-scratch-input-type=\"round\">LABEL<\/span>: select a label from your model or &#8220;any&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"block-confidence-of-pose-label\" class=\"scratchblocks\">confidence of pose [LABEL]<\/div>\n<p>Reports the confidence score (0\u20131) for the specified pose label.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>\ud83c\udfaf Confidence (shared blocks)<\/h3>\n<p style=\"font-size: 0.9em; color: #555;\"><strong>Important Note<\/strong> (<span class=\"scratchblocks\" data-scratch-input-type=\"rect\">TYPE<\/span>) &#8211; These blocks include a [TYPE] dropdown that lets you select the AI category &#8211; <strong>image, sound, or pose<\/strong>. This determines which model the block controls or reports data from.<\/p>\n<div id=\"block-set-minimum-confidence\" class=\"scratchblocks\">[TYPE|rect] set minimum confidence [CONFIDENCE|text]<\/div>\n<p>Sets the minimum confidence threshold (0\u20131) for detections in the selected category.<\/p>\n<ul>\n<li><span class=\"scratchblocks\" data-scratch-input-type=\"rect\">TYPE<\/span>: selects which AI detector the confidence applies to &#8211; from the dropdown menu choose: <strong>image, sound, or pose<\/strong>.<\/li>\n<li><span class=\"scratchblocks\" data-scratch-input-type=\"text\">CONFIDENCE<\/span>: sets the threshold value between 0 and 1.<\/li>\n<\/ul>\n<p>Use this block to control how certain the AI must be before reporting a detection:<\/p>\n<ul>\n<li>Default: 0.5 &#8211; balanced performance.<\/li>\n<li>Raise to 0.6\u20130.8: for stricter, more accurate detection (fewer false positives).<\/li>\n<li>Lower to 0.3\u20130.4: for more sensitivity (may increase false positives).<\/li>\n<\/ul>\n<div id=\"block-minimum-confidence\" class=\"scratchblocks\">[TYPE|rect] minimum confidence<\/div>\n<p>Reports the current confidence threshold value for the selected detector (<strong>image, sound, or pose<\/strong>).<\/p>\n<hr \/>\n<h3>\u2699\ufe0f Classification Controls (shared blocks)<\/h3>\n<p style=\"font-size: 0.9em; color: #555;\"><strong>Important Note<\/strong> (<span class=\"scratchblocks\" data-scratch-input-type=\"rect\">TYPE<\/span>) &#8211; These blocks include a [TYPE] dropdown that lets you select the AI category &#8211; <strong>image, sound, or pose<\/strong>. This determines which model the block controls or reports data from.<\/p>\n<p>Input image blocks are available for image and pose models; sound models use the microphone and do not require an image input.<\/p>\n<ul>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-classify-interval\">classify [INTERVAL]<\/span> - Choose how often detection runs:\r\n<ul>\r\n<li>every time this block runs<\/li>\r\n<li>continuous, without delay<\/li>\r\n<li>continuous, every 50\u20132500 ms<\/li>\r\n<\/ul>\r\n<\/li>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-turn-classification\">turn classification [on\/off]<\/span> - start or stop continuous detection.<\/li>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-classification-interval\">classification interval<\/span> - reports the current interval in milliseconds.<\/li>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-continuous-classification\">continuous classification<\/span> - reports continuous detection is \u201con\u201d or \u201coff\u201d.<\/li>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-select-input-image\">select input image [camera\/stage]<\/span> - choose camera or stage.<\/li>\r\n<li><span class=\"scratchblocks\" id=\"block-sc-input-image\">input image<\/span> - reports the active input source.<\/li>\r\n<\/ul>\n<hr \/>\n<h3>\ud83c\udfa5 Video Controls (shared blocks)<\/h3>\n<p style=\"font-size: 0.9em; color: #555;\"><strong>Important Note<\/strong> (<span class=\"scratchblocks\" data-scratch-input-type=\"rect\">TYPE<\/span>) &#8211; These blocks include a [TYPE] dropdown that lets you select the AI category &#8211; <strong>image, sound, or pose<\/strong>. This determines which model the block controls or reports data from.<\/p>\n<ul>\r\n    <li><span class=\"scratchblocks\" id=\"block-sc-turn-video\">turn video [off\/on\/on-flipped]<\/span>\r\n        <ul>\r\n            <li><span class=\"scratchblocks\" data-scratch-input-type=\"round\">on<\/span>: shows the camera preview in a mirrored view (like a typical webcam or mirror).<\/li>\r\n            <li><span class=\"scratchblocks\" data-scratch-input-type=\"round\">on-flipped<\/span>: shows the camera preview in a non-mirrored view \u2014 directions appear as in the real world.<\/li>\r\n            <li><span class=\"scratchblocks\" data-scratch-input-type=\"round\">off<\/span>: turns off the camera preview. In stage input mode, detection continues to run.<\/li>\r\n        <\/ul>\r\n    <\/li>\r\n    <li><span class=\"scratchblocks\" id=\"block-sc-set-video-transparency\">set video transparency to [TRANSPARENCY|text]<\/span> \u2014 adjusts how visible the camera preview is:\t \r\n        <ul>\r\n            <li><span class=\"scratchblocks\" data-scratch-input-type=\"text\">0<\/span>: fully visible (solid image)<\/li>\r\n            <li><span class=\"scratchblocks\" data-scratch-input-type=\"text\">100<\/span>: fully transparent (invisible but active)<\/li>\r\n        <\/ul>\r\n        Use a value from 0\u2013100 to adjust the camera background\u2019s opacity and help sprites appear clearly over the camera preview.<\/li>\r\n    <li><span class=\"scratchblocks\" id=\"block-sc-select-camera\">select camera [CAMERA]<\/span> \u2014 chooses among available cameras on your device. The dropdown lists all detected cameras, and the extension switches automatically to the one you select.<\/li>\r\n<\/ul>\n<hr \/>\n<h2>\ud83c\udf93 Educational Uses<\/h2>\n<ul>\n<li><strong>Learn Professional ML Workflows:<\/strong> Experience the full pipeline &#8211; collect data, train, test, deploy.<\/li>\n<li>Teach deep-learning and transfer-learning concepts using Google\u2019s tools.<\/li>\n<li>Explore model evaluation &#8211; accuracy, confidence, false positives\/negatives.<\/li>\n<li>Build collaborative class projects using shareable model URLs.<\/li>\n<li>Introduce students to real-world AI tools used in industry.<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83c\udfae Example Projects<\/h2>\n<ul>\n<li><strong>Animal Identifier:<\/strong> Recognize animals &#8211; educational quiz game.<\/li>\n<li><strong>Music Detector:<\/strong> Identify piano, guitar, or drums from sound.<\/li>\n<li><strong>Yoga Coach:<\/strong> Train pose models for yoga positions &#8211; live feedback.<\/li>\n<li><strong>Sign Language Helper:<\/strong> Recognize ASL hand signs &#8211; accessibility training.<\/li>\n<li><strong>Emotion Classifier:<\/strong> Detect facial expressions like happy or surprised.<\/li>\n<li><strong>Voice Command Game:<\/strong> \u201cJump\u201d, \u201cDuck\u201d, \u201cLeft\u201d, \u201cRight\u201d &#8211; play hands-free!<\/li>\n<li><strong>Recycling Sorter:<\/strong> Classify materials like plastic, paper, metal, glass.<\/li>\n<\/ul>\n<p><strong>\ud83e\udde9 Try it yourself:<\/strong> <a href=\"https:\/\/pishi.ai\/play\" target=\"_blank\" rel=\"noopener\">pishi.ai\/play<\/a><\/p>\n<hr \/>\n<h2>\ud83d\udd27 Tips and Troubleshooting (shared blocks)<\/h2>\n<p style=\"font-size: 0.9em; color: #555;\"><strong>Important Note<\/strong> (<span class=\"scratchblocks\" data-scratch-input-type=\"rect\">TYPE<\/span>) &#8211; These blocks include a [TYPE] dropdown that lets you select the AI category &#8211; <strong>image, sound, or pose<\/strong>. This determines which model the block controls or reports data from.<\/p>\n<ul>\r\n<li><strong>No camera?<\/strong> <br \/>\u2022 Make sure your camera is connected and browser permission is allowed. <br \/>\u2022 If the camera is blocked, enable it in your browser\u2019s site settings and reload the page. <br \/>\u2022 When the extension loads, if no camera is detected, the input image automatically switches to the Scratch stage so you can continue using and testing the extension's features.<\/li>\r\n<li><strong>No detection?<\/strong> <br \/>\u2022 <span class=\"scratchblocks\" id=\"block-sc-continuous-classification\">continuous classification<\/span>: Use this reporter to see if classification is active. <br \/>\u2022 If it is active, improve lighting and face the camera directly. <br \/>\u2022 <span class=\"scratchblocks\" id=\"block-sc-turn-classification\">turn classification [on]<\/span>: Use this block, if classification is not active, then recheck the classification status with the above reporter. <br \/>\u2022 In camera input mode, when the camera is turned off, classification is also stopped - you must turn the video back on or switch input to stage. <br \/>\u2022 In stage input mode, the system classifies whatever is visible on the stage - backdrops, sprites, or images. You can turn off the video completely and still process stage images. <br \/>\u2022 Stage mode is slower than camera input, so lower your classification interval (e.g., 100\u2013250 ms) for smoother results using this block: <span class=\"scratchblocks\" id=\"block-sc-classify-interval\">classify [INTERVAL]<\/span> <br \/>\u2022 In stage mode, \u201cleft\u201d and \u201cright\u201d landmarks are swapped because the stage image is not mirrored - coordinate space represents a real (non-mirrored) view. <br \/>\u2022 Classification can also restart automatically when you use blocks such as: <br \/><span class=\"scratchblocks\" id=\"block-sc-turn-video\">turn video [on]<\/span> \/ <span class=\"scratchblocks\" id=\"block-sc-classify-interval\">classify [INTERVAL]<\/span> \/ <span class=\"scratchblocks\" id=\"block-sc-select-camera\">select camera [CAMERA]<\/span> \/ <span class=\"scratchblocks\" id=\"block-sc-select-input-image\">select input image [camera\/stage]<\/span>.<\/li>\r\n<li><strong>Flipped view?<\/strong> <br \/><span class=\"scratchblocks\" id=\"block-sc-turn-video\">turn video [on-flipped]<\/span>: Use this to show the camera without mirroring. \u201con\u201d mirrors like a selfie; \u201con-flipped\u201d shows real left\/right orientation.<\/li>\r\n<li><strong>Laggy or slow?<\/strong> <br \/>Use classification intervals between 100\u2013250 ms or close other browser tabs to reduce processing load.<\/li>\r\n<li><strong>WebGL2 warning?<\/strong> <br \/>Try Firefox, or a newer device that supports WebGL2 graphics acceleration.<\/li>\r\n<li><strong>Analyze stage instead of camera?<\/strong> <br \/><span class=\"scratchblocks\" id=\"block-sc-select-input-image\">select input image [stage]<\/span>: Use this to analyze the Scratch stage image instead of a live camera feed. <span>The stage can include the camera video, as well as any sprites and backdrops currently visible on the Scratch stage.<\/span>\r\n<div><strong>Note:<\/strong> Processing the Scratch stage may be slower than using the camera directly.<\/div><\/li>\r\n<\/ul>\r\n\n<p>&nbsp;<\/p>\n<h3>\ud83c\udfeb Teachable Machine Specific Tips<\/h3>\n<ul>\n<li><strong>Model not loading?<\/strong> Make sure you clicked \u201cUpload my model\u201d on Teachable Machine and copied the full shareable URL.<\/li>\n<li><strong>URL format error?<\/strong> Your link must start with https:\/\/teachablemachine.withgoogle.com\/models\/ and end with a slash (\/).<\/li>\n<li><strong>Low accuracy in Scratch?<\/strong> Verify your model\u2019s performance on Teachable Machine first &#8211; ensure lighting and sound match your training setup.<\/li>\n<li><strong>Model not updating?<\/strong> Set the model URL again or reload the Scratch page to refresh.<\/li>\n<li><strong>Sound model not detecting?<\/strong> Check microphone permissions and use sounds similar to your training samples.<\/li>\n<li><strong>Pose model confused?<\/strong> Ensure your full upper body is visible &#8211; same conditions as during training.<\/li>\n<li><strong>Left\/right pose labels reversed?<\/strong> Left and right may appear differently between Teachable Machine and Scratch, especially when using a mirrored camera view. Test the labels in Scratch and train or name the classes to match the view used by your project.<\/li>\n<li><strong>Too many false positives?<\/strong> Increase minimum confidence (0.7\u20130.8) or retrain with more diverse examples.<\/li>\n<li><strong>Testing multiple models?<\/strong> Use the corresponding \u201cset model url\u201d block to switch &#8211; changes apply instantly.<\/li>\n<li><strong>Sharing models?<\/strong> Share your Teachable Machine URL so others can import and use it in their projects.<\/li>\n<li><strong>Model too large?<\/strong> Reduce image resolution or training samples before exporting from Teachable Machine.<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83d\udd12 Privacy and Safety<\/h2>\n<ul>\n<li>Models are hosted on Google\u2019s servers when uploaded.<\/li>\n<li>Once loaded into Scratch, all classification runs locally in your browser.<\/li>\n<li>Camera and microphone data are processed locally &#8211; never sent to servers during use.<\/li>\n<li>Your Teachable Machine training data follows Google\u2019s privacy policy.<\/li>\n<li>Shareable URLs are public &#8211; avoid posting sensitive model links.<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83e\uddea Technical Info<\/h2>\n<ul>\n<li><strong>Model Source:<\/strong> Google Teachable Machine (teachablemachine.withgoogle.com)<\/li>\n<li><strong>Framework:<\/strong> TensorFlow.js &#8211; runs fully in-browser with WebGL acceleration<\/li>\n<li><strong>Model Types:<\/strong> Image, Sound, Pose classification<\/li>\n<li><strong>Labels:<\/strong> Unlimited (based on model)<\/li>\n<li><strong>Inputs:<\/strong> Microphone (sound), Camera or Stage canvas (image\/pose)<\/li>\n<li><strong>Default Confidence:<\/strong> 0.5 (adjustable 0\u20131)<\/li>\n<li><strong>Model Format:<\/strong> TensorFlow.js graph model + metadata<\/li>\n<li><strong>Requires:<\/strong> WebGL2 for best performance<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83d\udd17 Related Extensions<\/h2>\n<ul>\n<li>\ud83d\uddbc\ufe0f <strong>Image Trainer<\/strong> &#8211; train custom models directly inside Scratch<\/li>\n<li>\ud83d\ude0e <strong>FaceMesh<\/strong> &#8211; detect facial landmarks<\/li>\n<li>\ud83d\udd90\ufe0f <strong>HandPose<\/strong> &#8211; detect hand landmarks<\/li>\n<li>\ud83d\udd7a <strong>PoseNet<\/strong> &#8211; track full-body pose<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83e\udde9 Comparison: Image Trainer vs Google Teachable Machine Extension<\/h2>\n<p>Both extensions let you use custom-trained AI models in Scratch, but they differ in where and how the training happens.<\/p>\n<div class=\"pishi-table\">\n<table>\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>Image Trainer<\/th>\n<th>Google Teachable Machine<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Training Location<\/strong><\/td>\n<td>Train directly inside Scratch &#8211; instant and integrated.<\/td>\n<td>Train on Teachable Machine, export the model, and get a shareable link for your Scratch extension.<\/td>\n<\/tr>\n<tr>\n<td><strong>Model Types<\/strong><\/td>\n<td>Image classification only.<\/td>\n<td>Image, Sound, and Pose classification.<\/td>\n<\/tr>\n<tr>\n<td><strong>Ease of Use<\/strong><\/td>\n<td>All-in-one &#8211; no external tools needed.<\/td>\n<td>Requires switching between TM website and Pishi.ai Scratch.<\/td>\n<\/tr>\n<tr>\n<td><strong>Labels Supported<\/strong><\/td>\n<td>10 labels (1\u201310)<\/td>\n<td>Unlimited labels (depends on your TM model)<\/td>\n<\/tr>\n<tr>\n<td><strong>Training Speed<\/strong><\/td>\n<td>Instant after first load &#8211; add examples with one click.<\/td>\n<td>Slower &#8211; must train on TM website, wait for processing, export, and import.<\/td>\n<\/tr>\n<tr>\n<td><strong>Model Portability<\/strong><\/td>\n<td>Download\/upload JSON files for saving and sharing models.<\/td>\n<td>Import pre-trained TM models via URL.<\/td>\n<\/tr>\n<tr>\n<td><strong>Best For<\/strong><\/td>\n<td>Quick, iterative training during live projects &#8211; great for classrooms and beginners.<\/td>\n<td>Advanced projects requiring more complex models or many labels.<\/td>\n<\/tr>\n<tr>\n<td><strong>Privacy<\/strong><\/td>\n<td>100% local &#8211; all training stays in your browser.<\/td>\n<td>Training on TM website (Google) &#8211; model files are downloaded and processed locally.<\/td>\n<\/tr>\n<tr>\n<td><strong>Educational Focus<\/strong><\/td>\n<td>Hands-on introduction to ML &#8211; see training happen in real time.<\/td>\n<td>Learn professional ML workflows &#8211; training, exporting, deploying.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p class=\"pishi-table-note\">\u2194 Swipe left or right to view full table on mobile<\/p>\n<p>&nbsp;<\/p>\n<h3>\ud83d\udca1 Why Choose Teachable Machine?<\/h3>\n<p>Teachable Machine is ideal for sophisticated, shareable AI projects.<\/p>\n<ul>\n<li>Train Image, Sound, and Pose models &#8211; three types in one.<\/li>\n<li>Unlimited labels with powerful cloud training.<\/li>\n<li>Share models easily via public URLs.<\/li>\n<li>Perfect for advanced coursework and collaboration.<\/li>\n<li>Introduces real-world ML workflows and tools.<\/li>\n<\/ul>\n<h3>\ud83d\udca1 Why Choose Image Trainer?<\/h3>\n<p>Image Trainer is perfect for rapid experimentation inside Scratch.<\/p>\n<ul>\n<li>Instant feedback loop &#8211; no external sites or accounts.<\/li>\n<li>Fully offline and private &#8211; all data stays on your device.<\/li>\n<li>Ideal for classrooms, workshops, and beginner ML projects.<\/li>\n<\/ul>\n<p><strong>In short:<\/strong><br \/>\n<strong>Teachable Machine<\/strong> = professional workflow for complex, shareable models (image\/sound\/pose).<br \/>\n<strong>Image Trainer<\/strong> = instant, integrated, beginner-friendly ML inside Scratch (image only).<\/p>\n<hr \/>\n<h2>\ud83d\udcda Learn More<\/h2>\n<ul>\n<li><a href=\"https:\/\/pishi.ai\/help\" target=\"_blank\" rel=\"noopener\">AI Extensions Help &#8211; pishi.ai<\/a><\/li>\n<li><a href=\"https:\/\/teachablemachine.withgoogle.com\/\" target=\"_blank\" rel=\"noopener\">Google Teachable Machine<\/a><\/li>\n<li><a href=\"https:\/\/teachablemachine.withgoogle.com\/faq\" target=\"_blank\" rel=\"noopener\">Teachable Machine FAQ<\/a><\/li>\n<li><a href=\"https:\/\/www.tensorflow.org\/js\" target=\"_blank\" rel=\"noopener\">TensorFlow.js Documentation<\/a><\/li>\n<li><a href=\"https:\/\/scratch.mit.edu\/ideas\" target=\"_blank\" rel=\"noopener\">Scratch Ideas<\/a><\/li>\n<\/ul>\n<hr \/>\n<p><script>\nwindow.scratchBlocksConfig = {\n\tblockSpecs: [\n\t\t{ id: 'block-sc-turn-classification' },\n\t\t{ id: 'block-sc-classify-interval' },\n\t\t{ id: 'block-sc-select-input-image' },\n\t\t{ id: 'block-sc-turn-video' },\n\t\t{ id: 'block-sc-set-video-transparency' },\n\t\t{ id: 'block-sc-select-camera' },\n\t\t{ id: 'block-set-image-model-url' },\n\t\t{ id: 'block-set-sound-model-url' },\n\t\t{ id: 'block-set-pose-model-url' },\n\t\t{ id: 'block-set-minimum-confidence' },\n\t\t{ id: 'block-when-image-detected', blockType: 'hat' },\n\t\t{ id: 'block-when-sound-detected', blockType: 'hat' },\n\t\t{ id: 'block-when-pose-detected', blockType: 'hat' },\n\t\t{ id: 'block-sc-classification-interval', blockType: 'reporter' },\n\t\t{ id: 'block-sc-continuous-classification', blockType: 'reporter' },\n\t\t{ id: 'block-sc-input-image', blockType: 'reporter' },\n\t\t{ id: 'block-confidence-of-image-label', blockType: 'reporter' },\n\t\t{ id: 'block-confidence-of-sound-label', blockType: 'reporter' },\n\t\t{ id: 'block-confidence-of-pose-label', blockType: 'reporter' },\n\t\t{ id: 'block-image-label', blockType: 'reporter' },\n\t\t{ id: 'block-sound-label', blockType: 'reporter' },\n\t\t{ id: 'block-pose-label', blockType: 'reporter' },\n\t\t{ id: 'block-minimum-confidence', blockType: 'reporter' },\n\t\t{ id: 'block-image-detected', blockType: 'boolean' },\n\t\t{ id: 'block-sound-detected', blockType: 'boolean' },\n\t\t{ id: 'block-pose-detected', blockType: 'boolean' }\n\t    ],\n};\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83c\udfeb Google Teachable Machine &#8211; Import Pre-Trained AI Models into Scratch The Google Teachable Machine extension brings advanced AI models [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8777,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[15],"doc_tag":[],"class_list":["post-5784","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-google-teachable-machine"],"year_month":"2026-11","word_count":2101,"total_views":"854","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"pishi.ai","author_nicename":"pishi-aipishrobot","author_url":"https:\/\/pishi.ai\/ar\/learn\/author\/pishi-aipishrobot\/"},"doc_category_info":[{"term_name":"Google Teachable Machine for Scratch","term_url":"https:\/\/pishi.ai\/ar\/help-category\/google-teachable-machine\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google Teachable Machine Extension for Scratch: Import Custom AI Models | Pishi.ai<\/title>\n<meta name=\"description\" content=\"Use the Google Teachable Machine extension for Scratch to import trained AI models for image, sound, and pose recognition and build interactive projects.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pishi.ai\/ar\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bring Your Own AI Models into Scratch with Google Teachable Machine\" \/>\n<meta property=\"og:description\" content=\"Social Description: Train custom AI models to recognize images, sounds, and body poses with Google Teachable Machine, then import them into Scratch using a shareable URL. Build interactive projects that respond to your trained AI models.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pishi.ai\/ar\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/\" \/>\n<meta property=\"og:site_name\" content=\"Pishi.ai\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-08T12:38:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631\" \/>\n\t<meta name=\"twitter:data1\" content=\"10 \u062f\u0642\u0627\u0626\u0642\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/\",\"url\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/\",\"name\":\"Google Teachable Machine Extension for Scratch: Import Custom AI Models | Pishi.ai\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pishi.ai\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/pishi-ai-google-teachable-machine-1.jpg\",\"datePublished\":\"2025-11-09T17:19:13+00:00\",\"dateModified\":\"2026-10-08T12:38:37+00:00\",\"description\":\"Use the Google Teachable Machine extension for Scratch to import trained AI models for image, sound, and pose recognition and build interactive projects.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pishi.ai\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/pishi-ai-google-teachable-machine-1.jpg\",\"contentUrl\":\"https:\\\/\\\/pishi.ai\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/pishi-ai-google-teachable-machine-1.jpg\",\"width\":1024,\"height\":1024,\"caption\":\"Pishi and a blue dog illustrate image, pose, and sound models connected through a Google model URL.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/help\\\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pishi.ai\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\\\/\\\/pishi.ai\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Google Teachable Machine &#8211; Import Pre-Trained AI Models into Scratch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/#website\",\"url\":\"https:\\\/\\\/pishi.ai\\\/\",\"name\":\"Pishi.ai\",\"description\":\"Learn, Create &amp; Explore AI-Powered Tools\",\"publisher\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pishi.ai\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/#organization\",\"name\":\"Pishi.ai\",\"url\":\"https:\\\/\\\/pishi.ai\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/pishi.ai\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pishi.ai\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/pishi-ai-logo-512x512-1.png\",\"contentUrl\":\"https:\\\/\\\/pishi.ai\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/pishi-ai-logo-512x512-1.png\",\"width\":512,\"height\":512,\"caption\":\"Pishi.ai\"},\"image\":{\"@id\":\"https:\\\/\\\/pishi.ai\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0625\u0636\u0627\u0641\u0629 Google Teachable Machine \u0644\u0640 Scratch: \u0627\u0633\u062a\u064a\u0631\u0627\u062f \u0646\u0645\u0627\u0630\u062c \u0630\u0643\u0627\u0621 \u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0645\u062e\u0635\u0651\u0635\u0629 | Pishi.ai","description":"\u0627\u0633\u062a\u062e\u062f\u0645 \u0625\u0636\u0627\u0641\u0629 Google Teachable Machine \u0644\u0640 Scratch \u0644\u0627\u0633\u062a\u064a\u0631\u0627\u062f \u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0627\u0644\u0645\u062f\u0631\u064e\u0651\u0628\u0629 \u0644\u0644\u062a\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0635\u0648\u0631 \u0648\u0627\u0644\u0623\u0635\u0648\u0627\u062a \u0648\u0627\u0644\u0648\u0636\u0639\u064a\u0627\u062a\u060c \u0648\u0623\u0646\u0634\u0626 \u0645\u0634\u0627\u0631\u064a\u0639 \u062a\u0641\u0627\u0639\u0644\u064a\u0629.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pishi.ai\/ar\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/","og_locale":"ar_AR","og_type":"article","og_title":"Bring Your Own AI Models into Scratch with Google Teachable Machine","og_description":"Social Description: Train custom AI models to recognize images, sounds, and body poses with Google Teachable Machine, then import them into Scratch using a shareable URL. Build interactive projects that respond to your trained AI models.","og_url":"https:\/\/pishi.ai\/ar\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/","og_site_name":"Pishi.ai","article_modified_time":"2026-10-08T12:38:37+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631":"10 \u062f\u0642\u0627\u0626\u0642"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/","url":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/","name":"\u0625\u0636\u0627\u0641\u0629 Google Teachable Machine \u0644\u0640 Scratch: \u0627\u0633\u062a\u064a\u0631\u0627\u062f \u0646\u0645\u0627\u0630\u062c \u0630\u0643\u0627\u0621 \u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0645\u062e\u0635\u0651\u0635\u0629 | Pishi.ai","isPartOf":{"@id":"https:\/\/pishi.ai\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/#primaryimage"},"image":{"@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/#primaryimage"},"thumbnailUrl":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg","datePublished":"2025-11-09T17:19:13+00:00","dateModified":"2026-10-08T12:38:37+00:00","description":"\u0627\u0633\u062a\u062e\u062f\u0645 \u0625\u0636\u0627\u0641\u0629 Google Teachable Machine \u0644\u0640 Scratch \u0644\u0627\u0633\u062a\u064a\u0631\u0627\u062f \u0646\u0645\u0627\u0630\u062c \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0627\u0644\u0645\u062f\u0631\u064e\u0651\u0628\u0629 \u0644\u0644\u062a\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0635\u0648\u0631 \u0648\u0627\u0644\u0623\u0635\u0648\u0627\u062a \u0648\u0627\u0644\u0648\u0636\u0639\u064a\u0627\u062a\u060c \u0648\u0623\u0646\u0634\u0626 \u0645\u0634\u0627\u0631\u064a\u0639 \u062a\u0641\u0627\u0639\u0644\u064a\u0629.","breadcrumb":{"@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/"]}]},{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/#primaryimage","url":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg","contentUrl":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/09\/pishi-ai-google-teachable-machine-1.jpg","width":1024,"height":1024,"caption":"Pishi and a blue dog illustrate image, pose, and sound models connected through a Google model URL."},{"@type":"BreadcrumbList","@id":"https:\/\/pishi.ai\/help\/google-teachable-machine-import-pre-trained-ai-models-into-scratch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pishi.ai\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/pishi.ai\/help\/"},{"@type":"ListItem","position":3,"name":"Google Teachable Machine &#8211; Import Pre-Trained AI Models into Scratch"}]},{"@type":"WebSite","@id":"https:\/\/pishi.ai\/#website","url":"https:\/\/pishi.ai\/","name":"\u0628\u064a\u0634\u064a.\u0625\u064a.\u0622\u064a","description":"\u062a\u0639\u0644\u0645\u060c \u0627\u0628\u062a\u0643\u0631\u060c \u0648\u0627\u0633\u062a\u0643\u0634\u0641 \u0627\u0644\u0623\u062f\u0648\u0627\u062a \u0627\u0644\u0645\u062f\u0639\u0648\u0645\u0629 \u0628\u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a","publisher":{"@id":"https:\/\/pishi.ai\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pishi.ai\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Organization","@id":"https:\/\/pishi.ai\/#organization","name":"\u0628\u064a\u0634\u064a.\u0625\u064a.\u0622\u064a","url":"https:\/\/pishi.ai\/","logo":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/pishi.ai\/#\/schema\/logo\/image\/","url":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/01\/pishi-ai-logo-512x512-1.png","contentUrl":"https:\/\/pishi.ai\/wp-content\/uploads\/2026\/01\/pishi-ai-logo-512x512-1.png","width":512,"height":512,"caption":"Pishi.ai"},"image":{"@id":"https:\/\/pishi.ai\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/docs\/5784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/comments?post=5784"}],"version-history":[{"count":4,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/docs\/5784\/revisions"}],"predecessor-version":[{"id":8925,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/docs\/5784\/revisions\/8925"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/media\/8777"}],"wp:attachment":[{"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/media?parent=5784"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/doc_category?post=5784"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/pishi.ai\/ar\/wp-json\/wp\/v2\/doc_tag?post=5784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}