xugaoxiang | 迷途小书童

Linux common commands -97: dirname

The dirname command removes the non-directory part of the file name and only displays the content related to the directory, which is the opposite of the basename command introduced earlier. dirname keeps the last / and its preceding characters, and removes the rest. If there are no characters after the last / , dirname uses …

Linux common commands -97: dirname Read More »

Linux common commands -96: basename

The basename command is mainly used to display the file name with the file path name excluding the directory part. Syntax format: basename [parameter] Common parameters: Example basename /etc/nginx/sites-enabled/default basename /etc/nginx/nginx.conf # 显示文件名,不显示后缀basename /etc/nginx/nginx.conf .conf This article is reprinted from https://xugaoxiang.com/2022/09/06/linux-cmds-96-basename/ This site is for inclusion only, and the copyright belongs to the original author.

Python utility module (36) captcha

surroundings windows 10 64bit python 3.8 captcha 0.4 foreword captcha is a third-party library used to generate image or audio verification. Captcha technology is very common in web applications. In this article, we will take a look at some of its common uses. Install Install using pip , execute the command pip install captcha example …

Python utility module (36) captcha Read More »

Python utility module (35) pendulum

surroundings python 3.8 pendulum 2.1.2 foreword pendulum is an open source library for manipulating date and time. Compared with the built-in library datetime , it is simpler and easier to operate. In fact, pendulum is based on the datetime standard library. Install Install using pip , execute the command pip install -U pendulum Example Let’s …

Python utility module (35) pendulum Read More »

YOLOv5 released v6.2 official version

surroundings windows 10 64bit python 3.8.11 torch-1.7.1+cu101 foreword On the evening of August 17th, Beijing time, YOLOv5 officially released the v6.2 version. Compared with v6.1 , this update added classification training, verification, inference and export of other model formats ImageNet The training model of YOLOv5m-cls , ResNet18 , ResNet34 , ResNet50 , ResNet101 series and …

YOLOv5 released v6.2 official version Read More »

YOLOV7 + StrongSORT to achieve target detection and tracking, based on OSNet

surroundings windows 10 64bit python 3.8 pytorch1.7.1 + cu101 video here Youtube Bilibili Introduction Earlier, we introduced target tracking based on YOLOv5 and DeepSort . Recently, Dashen added target tracking on the basis of YOLOv7 , which was just released. The tracking part uses StrongSORT OSNet Project address: https://github.com /mikel-brostrom/Yolov7_StrongSORT_OSNet . Source code download First …

YOLOV7 + StrongSORT to achieve target detection and tracking, based on OSNet Read More »