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
###################################################################### | |
# Source: https://www.freecodecamp.org/news/bashrc-customization-guide/ | |
# | |
# | |
# ██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗ | |
# ██╔══██╗██╔══██╗██╔════╝██║ ██║██╔══██╗██╔════╝ | |
# ██████╔╝███████║███████╗███████║██████╔╝██║ | |
# ██╔══██╗██╔══██║╚════██║██╔══██║██╔══██╗██║ | |
# ██████╔╝██║ ██║███████║██║ ██║██║ ██║╚██████╗ | |
# ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ |
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
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license | |
""" | |
Run inference on images, videos, directories, streams, etc. | |
Usage - sources: | |
$ python path/to/detect.py --weights yolov5s.pt --source 0 # webcam | |
img.jpg # image | |
vid.mp4 # video | |
path/ # directory | |
path/*.jpg # glob |
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
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license | |
""" | |
Plotting utils | |
""" | |
import math | |
import os | |
from copy import copy | |
from pathlib import Path | |
from urllib.error import URLError |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<profiles version="21"> | |
<profile kind="CodeFormatterProfile" name="Eclipse [Forrest customized]" version="21"> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/> | |
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/> | |
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/> | |
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/> |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/forrestli/.oh-my-zsh" | |
# Load nerd fonts icons | |
# By Forrest@03/03/2021 | |
source ~/Documents/nerd_fonts_download/i_all.sh |
NewerOlder