A CNN based image segmentation tool oriented to marine data analysis

TagLab TagLab was created to support the activity of annotation and extraction of statistical data from ortho-maps of benthic communities. The tool includes different types of CNN-based segmentation networks specially trained for agnostic (relative only to contours) or semantic (also related to species) recognition of corals. Interaction TagLab allows to : zoom and navigate a large map using (zoom/mouse wheel, pan/’Move’ tool selected + left button). With every other tool selected the pan is activated with ctrl + left button […]

Read more

Build a Platform Game in Python With Arcade

For many video game players, the lure of writing games is a prime reason to learn computer programming. However, building a 2D platform game such as Lode Runner, Pitfall!, or Super Mario Bros. without proper tools or guidance can leave you frustrated. Fortunately, the Python arcade library makes creating a 2D game in Python accessible for many programmers! If you haven’t already heard about it, the arcade library is a modern Python framework for crafting games with compelling graphics and […]

Read more

Download all Snapchat video & photo memories with python

Snapchat “Memories” Fetcher In compliance with the California Consumer Privacy Act of 2018 (“CCPA”), businesses which collect and store user data must allow customers the ability to request data the company has collected about the requesting user: “… you may ask businesses to disclose what personal information they have about you and what they do with that information, to delete your personal information and not to sell your personal information. You also have the right to be notified, before or […]

Read more

A simple URL shortener built with Flask

URL Shortener A simple URL shortener built with Flask and MongoDB. Getting Started With Docker Prerequisites Running From your terminal/command prompt run: docker-compose up Then point your browser to http://127.0.0.1:5000/. Without Docker Installing Requirements (Optional) Install virtualenv andvirtualenvwrapper and create a new environment. Run pip install -r requirements.txt. Setting up MongoDB You can either: Install MongoDB locally by going here. or: Configuration The following properties can be configured: Name Purpose Default DEBUG If debug mode is enabled. False ENV Environment […]

Read more

Build custom OSINT tools and APIs with python

osint Build custom OSINT tools and APIs with this python package! It includes different OSINT modules for performing reconnaissance on the target, and a built-in database for mapping and visuialzing some of the reconnaissance results. The final results is a json output that can be intergrated with other projects Install pip3 install osint Usage Example – Scan ips or domains for http and https #Remember you need higher privileges from osint import QBDns, QBScan targets = QBDns().convert_to_ips([“http://test.com”,”1.2.3.4″] ) targets = […]

Read more

A Python port and library-fication of the midicsv tool

py_midicsv A Python library inspired by the midicsv tool created by John Walker. Its main purpose is to bidirectionally convert between the binary MIDI format and a human-readable interpretation of the contained data in text format, expressed as CSV. If you found this library, you probably already know why you need it. Installation py_midicsv can be installed via pip: $ pip install py_midicsv Alternatively you can build the package by cloning this repository and installing via poetry: $ git clone […]

Read more

Python’s map() Function: Transforming Iterables

Python’s map() is a built-in function that allows you to process and transform all the items in an iterable without using an explicit for loop, a technique commonly known as mapping. map() is useful when you need to apply a transformation function to each item in an iterable and transform them into a new iterable. map() is one of the tools that support a functional programming style in Python. In this course, you’ll learn: How Python’s map() works How to […]

Read more

Building a Conversational Bot using LUIS

Introduction Companies are increasingly inclining towards having chatbots for their businesses for multiple applications. Amongst the numerous API providers in the chatbot landscape that focus on Natural Language Programming (NLP) and Natural Language Understanding (NLU), I would be demonstrating how to build a chatbot that can automate the process of scheduling interviews using Microsoft’s LUIS. Scheduling interviews comes with a lot of challenges like finding out a suitable slot for everyone, including other participants, rescheduling an interview on a participant’s […]

Read more

PyTorch Implementation of Region Similarity Representation Learning

ReSim This repository provides the PyTorch implementation of Region Similarity Representation Learning (ReSim) described in this paper: @Article{xiao2021region, author = {Tete Xiao and Colorado J Reed and Xiaolong Wang and Kurt Keutzer and Trevor Darrell}, title = {Region Similarity Representation Learning}, journal = {arXiv preprint arXiv:2103.12902}, year = {2021}, } tldr; ReSim maintains spatial relationships in the convolutional feature maps when performing instance contrastive pre-training, which is useful for region-related tasks such as object detection, segmentation, and dense pose estimation. […]

Read more

A Python 3 package providing several time-efficient algorithms

AntroPy AntroPy is a Python 3 package providing several time-efficient algorithms for computing the complexity of time-series. It can be used for example to extract features from EEG signals. Installation pip install antropy Functions Entropy import numpy as np import antropy as ant np.random.seed(1234567) x = np.random.normal(size=3000) # Permutation entropy print(ant.perm_entropy(x, normalize=True)) # Spectral entropy print(ant.spectral_entropy(x, sf=100, method=’welch’, normalize=True)) # Singular value decomposition entropy print(ant.svd_entropy(x, normalize=True)) # Approximate entropy print(ant.app_entropy(x)) # Sample entropy print(ant.sample_entropy(x)) # Hjorth mobility and complexity print(ant.hjorth_params(x)) […]

Read more
1 587 588 589 590 591 856