This file contains 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 collections import defaultdict | |
import os | |
import torch | |
import numpy as np | |
import cv2 | |
import supervision as sv | |
import time | |
from ultralytics import YOLO |
This file contains 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
var fs = require("fs"); | |
try { | |
var data = fs.readFileSync("day3input.txt", "utf8"); | |
} catch (e) { | |
console.log("Error:", e.stack); | |
} | |
const separatedLines = data.split(/\r?\n/); | |
separatedLines.pop(); |