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
""" | |
sudo apt install python-pip | |
pip install --upgrade pip | |
pip install scipy | |
pip install numpy | |
pip install opencv-python | |
pip install opencv-contrib-python | |
pip install pytesseract |
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
""" | |
sudo apt install python-pip | |
pip install --upgrade pip | |
pip install scipy | |
pip install numpy | |
pip install opencv-python | |
pip install opencv-contrib-python | |
pip install pytesseract |
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
-Xms512m | |
-Xmx1024m | |
-Xss16m | |
-XX:ReservedCodeCacheSize=512m | |
-XX:SoftRefLRUPolicyMSPerMB=64 | |
-XX:ParallelGCThreads=2 | |
-XX:MaxPermSize=1024m | |
-XX:+DoEscapeAnalysis | |
-XX:+UseCodeCacheFlushing | |
-XX:MaxTenuringThreshold=2 |
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
-Xms1024m | |
-Xmx2048m | |
-Xss32m | |
-XX:ReservedCodeCacheSize=1024M | |
-XX:SoftRefLRUPolicyMSPerMB=64 | |
-XX:ParallelGCThreads=2 | |
-XX:MaxPermSize=1024m | |
-XX:+DoEscapeAnalysis | |
-XX:+UseCodeCacheFlushing | |
-XX:MaxTenuringThreshold=2 |
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
############################################################################################ | |
# | |
# Brother MFC-J265W Scanner Install in Bionic Beaver 18.04 (64 Bit) | |
# | |
############################################################################################ | |
############################################## | |
# Download Following DEB Files | |
# http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=mfcj265w_all&os=128 |
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
""" | |
############################################# | |
# | |
# https://pypi.org/project/yolo34py/ | |
# | |
############################################# | |
https://github.com/madhawav/YOLO3-4-Py/blob/master/download_models.sh | |
http://www.erogol.com/object-detection-literature/ |
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
# create in yolo git folder a new one | |
mkdir jpg2 | |
# extract images from video into folder, down scaling video from 1280x720 (1920x1080) | |
# start video from secind 26, run first 33 seconds of video | |
ffmpeg -ss 00:00:26.000 -i myvid.mp4 -s 640x360 -t 00:00:33 -r 6 jpg2/vid_%04d.jpg | |
# detect object in every image | |
# for f in jpg2/*.jpg; do echo "$f"; done |
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
# Install Yolo Package | |
git clone https://github.com/pjreddie/darknet.git | |
cd darknet | |
make | |
# Download weights files | |
wget https://pjreddie.com/media/files/yolov3.weights | |
wget https://pjreddie.com/media/files/yolo.weights | |
wget https://pjreddie.com/media/files/yolov2.weights |
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
# Install Dependency Packages | |
sudo apt install python3-pip -y | |
pip3 install tensorflow | |
pip3 install numpy | |
pip3 install pandas | |
# Clone Models Repo | |
git clone https://github.com/tensorflow/models |
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
UPDATE `accounts` SET `date_entered`= CONCAT('2015-0',ROUND(1+RAND()*6),'-01 08:55:22') WHERE 1 | |
OK rand accounts | |
--- | |
UPDATE accounts SET date_entered= CONCAT('2015-0',ROUND(1+RAND()*7),'-0',ROUND(1+RAND()*8),' 0',ROUND(1+RAND()*4),':55:22') WHERE 1 | |
UPDATE accounts SET date_modified = (SELECT CONCAT(date_entered + INTERVAL ROUND(1+RAND()*7) DAY,'') ) WHERE 1 LIMIT 1 | |
OK rand calls | |
--- |