Skip to content

Instantly share code, notes, and snippets.

View elbruno's full-sized avatar
💭
@Home rocking some AI projects

El Bruno elbruno

💭
@Home rocking some AI projects
View GitHub Profile
@elbruno
elbruno / opencvremovebginwebcam.py
Created June 8, 2022 15:47
opencvremovebginwebcam.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 June
# Change Log :
# – Open a local camera feed using OpenCV
# – Show the original camera feed and the background removed feed
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@elbruno
elbruno / opencvremovebackground.py
Created June 7, 2022 15:22
opencvremovebackground.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 June
# Change Log :
# – Load and image and remove the background
# – Show the original image and the background removed image
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@elbruno
elbruno / webserverappreeceiveandsave.py
Created May 12, 2022 15:32
webserverappreeceiveandsave.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 May
# Change Log :
# – Webserver App to receive binay content and save this as a file locally
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / JupyterNotebookOpenCvCamera.ipynb
Last active May 9, 2022 15:40
JupyterNotebookOpenCvCamera.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@elbruno
elbruno / esp32camclientpythonapp.py
Last active March 23, 2022 13:38
esp32camclientpythonapp.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 March
# Change Log :
# – Open a remote image from a webserver on a ESPCam32 arduino board
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / esp32camflashdemo.cpp
Created March 5, 2022 21:12
esp32camflashdemo.cpp
// Copyright (c) 2022
// Author : Bruno Capuano
// Create Time : 2022 March
// Change Log :
// - Turn ON and OFF the Flash on an ESP32-CAM board
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@elbruno
elbruno / azureiotsampletelemetrymessage.json
Created March 3, 2022 14:21
azureiotsampletelemetrymessage.json
{
"id": "<Telemetry ID>",
"topic": "/SUBSCRIPTIONS/<Suscription ID>/RESOURCEGROUPS/RG-AZUREIOT/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/ELBRUNOIOT",
"subject": "devices/wioSquirrelFeeder",
"eventType": "Microsoft.Devices.DeviceTelemetry",
"data": {
"properties": {},
"systemProperties": {
"iothub-connection-device-id": "wioSquirrelFeeder",
"iothub-connection-auth-method": "{\"scope\":\"device\",\"type\":\"sas\",\"issuer\":\"iothub\",\"acceptingIpFilterRule\":null}",
@elbruno
elbruno / dronecontrolsquirreldetection.py
Created February 24, 2022 20:33
dronecontrolsquirreldetection.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 Feb
# Change Log :
# - Open drone camera with openCV
# - Analyze camera frame with local custom vision project running in an app
# - Key D enable / disable object detection
# - On detection enabled
# - Save original image in tmp folder
# - Save image with bounding boxes and detected objects in det folder
@elbruno
elbruno / opencvbwimageandcolorresalted.py
Created February 23, 2022 14:39
opencvbwimageandcolorresalted.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 Feb
# Change Log :
# - Open a local image
# - Convert an image to B&W, and resalt a specific color in RED
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
@elbruno
elbruno / opencvpencilsketcheffect.py
Created February 21, 2022 19:27
opencvpencilsketcheffect.py
# Copyright (c) 2022
# Author : Bruno Capuano
# Create Time : 2022 Feb
# Change Log :
# - Open a local image
# - Apply a pencil sketch effect to the image
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy