This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Remote Control Plugin for MusicBrainz Picard | |
| Starts a local HTTP server so you can trigger Load and Scan | |
| via simple HTTP requests from any machine on your network. | |
| Endpoints: | |
| GET /status - health check, returns running status | |
| POST /load?path=... - load a file or directory into Picard | |
| POST /scan - scan all files in the cluster pane (AcoustID) | |
| POST /cluster - cluster all unmatched files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const uint8_t BUF_LEN = 6; | |
| /* Pin values */ | |
| int d0 = 0; | |
| int d1 = 0; | |
| int d2 = 0; | |
| int d3 = 0; | |
| int d4 = 0; | |
| int d5 = 0; | |
| unsigned long time = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from Viewer import Viewer | |
| from VideoAnalyzer import VideoAnalyzer | |
| from Constants import * | |
| import time, pygame | |
| import os | |
| os.environ['SDL_VIDEO_CENTERED'] = '1' # Set the window in the center | |
| vw = Viewer() | |
| va = VideoAnalyzer(vw) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Marc-Daniel Julien | |
| Akiva Krauthamer | |
| Intro to Physical Compting | |
| Carnegie Mellon University | |
| CarLogic implements all of the behavior of the robot via a | |
| Finite State Machine | |
| """ | |
| from VideoThread import VideoThread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Marc-Daniel Julien | |
| # Akiva Krauthamer | |
| # Intro to Physical Compting | |
| # Carnegie Mellon University | |
| import cv2 | |
| import time, sys | |
| import numpy as np | |
| from scipy import misc | |
| import wiringpi2 as wpi |