MarsCat - The AI Cat Born From Raspberry Pi
Raspberry Pi is a series of small single-board computers(SBCs) developed in the United Kingdomby the Raspberry Pi Foundation in association with Broadcom.
The Raspberry Pi project originally leaned towards the promotion of teaching basic computer science in schools and in developing countries.
The original model became more popular than anticipated, selling outside its target market for uses such as robotics.
MarsCat, an AI robot cat created by Elephant Robotics, is powered by Raspberry PI 3 B(wifi)-Quad-Core ARM Cortex-A53 CPU, 1GB ARM. The API includes Type C (Data Transmission), DC JACK (Charging Cable Interface), HDMI. Learn More
Based on the open-source Raspberry PI, Marscat is able to conduct secondary developments according to geeks' novelty ideas.
Followings are the tutorial and Python scripts for further developments based on a Raspberry Pi, which is the basis for MarsCat research.
- Connect monitor, mouse, keyboard
- Connections: Wifi, ssh, vnc, etc
Account: pi Password: raspberry
- Disable auto-start function before programming:
- Enable the auto-start function:
Download the API
git clone https://github.com/elephantrobotics/marscatAPI.git
# file: move/movement.py
# See this file for more functions
mv = movement.MoveMent()
mv.set_walk(step = 2, speed = 0.7)
# file: sensor/touch.py
tc = touch.Touch()
# file: eye/eyedisplay.py
eyes = eyedisplay.EyeDisplay()
eyes.display_eye(ball_num = 1, lid_num = 1, ball_type = 'eye_ball', dx = 0, dy = 0)
ball_num --> int:
# Eyeball size
lid_num --> int:
# Eyelid size
ball_type --> str:
[eye_ball, ball, face, flip, heat, hug, teaser, voice,
low_power, charging, dizzy, bowlorhungry, sleep
# To select which folder the picture comes from
dx,dy --> int:
# Coordinates of eyeball
# (0, 0) in the middle
# file: sound/catsound.py
s = catsound.CatSound()
# file: vision/vision_base.py
vision = vision_base.Vision()
It can recognize faces, blue balls, matching cat-friendly sticks and matching QR codes.
# file: voice/voice_base.py
Select VoiceRecognizes Language
# file: voice/voice_base.py 28行
language = "Chinese"
Voice Wake up
Wake up words:
# file: voice/voice_base.py 142row
ACTIVATION_WORDS = [
'HI MARSCAT', 'MARSCAT', 'MASSCAT', 'MASKCAT', 'MARS',
# file: voice/voice_base.py 152row
Wake up successfully and enter listening mode
The files in voice/corpus/*.dic contain all the recognized words in three languages.