Skip to content

Instantly share code, notes, and snippets.

View abbaselmas's full-sized avatar
🚶‍♂️
wandering from one repo to another

Abbas Elmas abbaselmas

🚶‍♂️
wandering from one repo to another
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<!--https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=tr-TR&Locale=tr-TR&Keyboard=0000041f&GeoLocation=235&ProcessorArchitecture=amd64&BypassRequirementsCheck=true&BypassNetworkCheck=true&ComputerNameMode=Custom&ComputerName=AbbOS&CompactOsMode=Always&TimeZoneMode=Explicit&TimeZone=Turkey+Standard+Time&PartitionMode=Unattended&PartitionLayout=GPT&EspSize=300&RecoveryMode=None&WindowsEditionMode=Generic&WindowsEdition=pro&UserAccountMode=InteractiveLocal&PasswordExpirationMode=Unlimited&LockoutMode=Disabled&HideFiles=Hidden&ShowFileExtensions=true&LaunchToThisPC=true&TaskbarSearch=Hide&TaskbarIconsMode=Empty&DisableWidgets=true&LeftTaskbar=true&HideTaskViewButton=true&ShowAllTrayIcons=true&DisableBingResults=true&StartTilesMode=Empty&StartPinsMode=Empty&DisableDefender=true&DisableUac=true&DisableSac=true&DisableSmartScree
git clone -b 4.10.0 https://github.com/opencv/opencv.git
git clone -b 4.10.0 https://github.com/opencv/opencv_contrib.git # optional
cd ./opencv
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_OPENCV_VERBOSE=OFF \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF \
@abbaselmas
abbaselmas / airgen_collect.py
Created January 13, 2025 09:33
AirGen image capture from drone
# Import necessary libraries
import airgen
import time
import cv2
import numpy as np
# Initialize the AirGen client
client = airgen.MultirotorClient()
client.confirmConnection()
client.enableApiControl(True)
client.armDisarm(True)
@abbaselmas
abbaselmas / settings.json.phd
Created August 23, 2023 13:45
AirSim phd config
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "ComputerVision",
"ViewMode": "NoDisplay",
"Recording": {
"RecordOnMove": true,
"RecordInterval": 0.1,
"Cameras": [
{ "CameraName": "front_center", "ImageType": 0, "PixelsAsFloat": false, "Compress": true }
@abbaselmas
abbaselmas / settings.json.orig
Created August 23, 2023 13:44
AirSim original json
{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "ComputerVision",
"Recording": {
"RecordOnMove": true,
"RecordInterval": 0.5,
"Cameras": [
{ "CameraName": "0", "ImageType": 0, "PixelsAsFloat": false, "Compress": true },
{ "CameraName": "0", "ImageType": 5, "PixelsAsFloat": false, "Compress": true },