Skip to content

Instantly share code, notes, and snippets.

"""
Histogram equalization using CLAHE
"""
# Import required packages:
import cv2
from matplotlib import pyplot as plt
def show_img_with_matplotlib(color_img, title, pos):
package com.example.geofencing;
import android.app.IntentService;
import android.content.Intent;
import android.widget.Toast;
import com.google.android.gms.location.Geofence;
import com.google.android.gms.location.GeofencingEvent;
public class GeofenceIntentService extends IntentService {
[
{"_id":"52549fee-1960-4124-bee2-6a8b745bf9d2","applicant":{"_id":"56f35c2d-65f6-4789-84e3-bc982c243346","userId":"309040d2-b757-410f-a24b-642be3f5cc31","userType":"Individual","companyName":"123","applicantName":"edward lorilla","firstName":"edward","lastName":"lorilla","middleName":"lance","suffix":"edward","nationality":"Filipino","sex":"Male","signature":null,"height":12.0,"weight":1.0,"address":{"street":"88 CELICA STREET","unit":"12","barangay":"Balintad","city":"Baungon","province":"Bukidnon","region":"Region X - Northern Mindanao","zipCode":"8000"},"contact":{"contactNumber":"09072863152","email":"edwardlorilla1986@gmail.com"},"dateOfBirth":"2022-01-01","education":{"schoolAttended":"sf","courseTaken":"sf","yearGraduated":"2022"},"profilePicture":null},"service":{"_id":"61c400d8ad8e7afe9ee6f627","name":"TVRO/CATV Station License","serviceCode":"service-17","applicationType":{"label":"TVRO Station License (NEW)","elements":[],"formCode":"ntc1-22-license","requirements":[{"key":"provisional-authority
"""
Contours shape recognition mainly based on cv2.approxPolyDP() function
"""
# Import required packages:
import numpy as np
import cv2
from matplotlib import pyplot as plt
["vw", "bmw", "mercedes"]
[
{
"_id": "61c531906929f6099c48aa67",
"updatedAt": "2021-12-24T13:05:17.771Z",
"createdAt": "2021-12-24T02:33:52.339Z",
"activityType": "Basic Activity 1",
"activityDetails": {
"dateTime": "2021-12-24T02:33:52.337Z",
"application": {
"_id": "61c52ae16929f6099c48aa46",
"""
Skin segmentation algorithms based on different color spaces
"""
# import the necessary packages
import numpy as np
import cv2
import matplotlib.pyplot as plt
import os
{
"RestResponse" : {
"messages" : [ "Total [12] records found." ],
"result" : [ {
"name" : "Brunei Darussalam",
"alpha2_code" : "BN",
"alpha3_code" : "BRN"
}, {
"name" : "Burundi",
"alpha2_code" : "BI",
"""
Approximation methods in OpenCV contours
"""
# Import required packages:
import numpy as np
import cv2
from matplotlib import pyplot as plt
@edward1986
edward1986 / index.html
Created July 3, 2021 15:14
Sweet Alert Confirm Delete Example
<div class="container">
<h1>Sweet Alert Confirm Delete Example</h1>
<table class="table table-bordered data -table">
<thead>
<tr>
<th>No</th>
<th>Name</th>
<th>Email</th>
<th>Action</th>