Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
| var WebSocketClient = require('websocket').client; | |
| var client = new WebSocketClient(); | |
| client.on('connectFailed', function(error) { | |
| console.log('Connect Error: ' + error.toString()); | |
| }); | |
| client.on('connect', function(connection) { | |
| console.log('WebSocket Client Connected'); |
| var DisnodeBot = require("../src/Disnode.js"); | |
| var testBot = new DisnodeBot("", "./TestBotConfig.json"); / | |
| var botCommands = {}; | |
| testBot.on("Bot_Ready", function(){ | |
| console.log('[TEST_BOT - BotReady] Bot Ready.'); | |
| testBot.loadConfig(OnLoad); | |
| }); | |
| var OnLoad = function(){ | |
| testBot.addManager({name:"CommandHandler", options:{prefix: "!"}}); | |
| testBot.addManager({name:"MusicManager", options:{voiceEvents: true, maxVolume:2.0}}); |
| var net = require('net') | |
| var port = 7777; | |
| var server = net.createServer(); | |
| server.listen(port, function(err,err2){ | |
| console.log(err2); | |
| }); | |
| server.on('connection', function(socket) { //This is a standard net.Socket | |
| console.log("Conneted!"); | |
| socket.on('data', function(message) { |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Windows.Forms; | |
| using System.Net.Sockets; | |
| using System.Threading; |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Windows.Forms; | |
| using System.Net.Sockets; | |
| using System.Threading; |
| const tmi = require('tmi.js'); | |
| const sleep = require('system-sleep'); | |
| const io = require('socket.io-client'); | |
| const IRCUtils = require('./IRCUtils.js'); | |
| class IRCPlugin { | |
| constructor() { | |
| var self = this; | |
| self.DB = {}; | |
| self.utils = {}; |
| #This is prototpying code used to figure out the logic nessary to find the position of CryptoBoxes | |
| #in the FTC Relic Recovery Game. The logic and parameters found here will then be transfered to | |
| #the FTC App running on the Java Phone. When that is finished, our code will be made avalible to all. | |
| import cv2 | |
| import numpy | |
| #Load Test Image | |
| raw = cv2.imread("row2.jpg") |
| public Mat processFrame2(Mat frame) | |
| { | |
| // if the frame is not empty, process it | |
| if (!frame.empty()) | |
| { | |
| // init | |
| //Mat flippedImage = new Mat(); | |
| Mat resizedImage = new Mat(); | |
| Mat blurredImage = new Mat(); | |
| Mat hsvImage = new Mat(); |
| package com.disnodeteam.dogecv.detectors; | |
| import com.disnodeteam.dogecv.OpenCVPipeline; | |
| import org.opencv.core.Core; | |
| import org.opencv.core.CvType; | |
| import org.opencv.core.Mat; | |
| import org.opencv.core.MatOfPoint; | |
| import org.opencv.core.Point; | |
| import org.opencv.core.Rect; |