Instance Segmentation Using Mask-RCNN

In this article, I will be creating my own trained model for detecting potholes. For detection, I will be using the instance segmentation technique using the Mask-RCNN with the help of Supervisely.

Before creating our model lets get to know what tools and techniques we are using.

What is Instance Segmentation?

Image for post

Instance segmentation is a technique used for detecting by masking or covering a detected object pixel to pixel. Instance segmentation is very useful in Automatic car as we get pixel to pixel result which increases the accuracy of less accidents


Mask-RCNN is a deep neural network aimed to solve instance segmentation problem in machine learning or computer vision. There are two stages of Mask RCNN. First, it generates proposals about the regions where there might be an object based on the input image. Second, it predicts the class of the object, refines the bounding box and generates a mask in pixel level of the object based on the first stage proposal.

Mask-RCNN is actually a trained model but in this article I will be showing you how to fine tune or train the Mask-RCNN model for your own custom objects.

#computer-vision #computer-science #machine-learning #artificial-intelligence #deep-learning #deep learning

What is GEEK

Buddha Community

Instance Segmentation Using Mask-RCNN

Why Use WordPress? What Can You Do With WordPress?

Can you use WordPress for anything other than blogging? To your surprise, yes. WordPress is more than just a blogging tool, and it has helped thousands of websites and web applications to thrive. The use of WordPress powers around 40% of online projects, and today in our blog, we would visit some amazing uses of WordPress other than blogging.
What Is The Use Of WordPress?

WordPress is the most popular website platform in the world. It is the first choice of businesses that want to set a feature-rich and dynamic Content Management System. So, if you ask what WordPress is used for, the answer is – everything. It is a super-flexible, feature-rich and secure platform that offers everything to build unique websites and applications. Let’s start knowing them:

1. Multiple Websites Under A Single Installation
WordPress Multisite allows you to develop multiple sites from a single WordPress installation. You can download WordPress and start building websites you want to launch under a single server. Literally speaking, you can handle hundreds of sites from one single dashboard, which now needs applause.
It is a highly efficient platform that allows you to easily run several websites under the same login credentials. One of the best things about WordPress is the themes it has to offer. You can simply download them and plugin for various sites and save space on sites without losing their speed.

2. WordPress Social Network
WordPress can be used for high-end projects such as Social Media Network. If you don’t have the money and patience to hire a coder and invest months in building a feature-rich social media site, go for WordPress. It is one of the most amazing uses of WordPress. Its stunning CMS is unbeatable. And you can build sites as good as Facebook or Reddit etc. It can just make the process a lot easier.
To set up a social media network, you would have to download a WordPress Plugin called BuddyPress. It would allow you to connect a community page with ease and would provide all the necessary features of a community or social media. It has direct messaging, activity stream, user groups, extended profiles, and so much more. You just have to download and configure it.
If BuddyPress doesn’t meet all your needs, don’t give up on your dreams. You can try out WP Symposium or PeepSo. There are also several themes you can use to build a social network.

3. Create A Forum For Your Brand’s Community
Communities are very important for your business. They help you stay in constant connection with your users and consumers. And allow you to turn them into a loyal customer base. Meanwhile, there are many good technologies that can be used for building a community page – the good old WordPress is still the best.
It is the best community development technology. If you want to build your online community, you need to consider all the amazing features you get with WordPress. Plugins such as BB Press is an open-source, template-driven PHP/ MySQL forum software. It is very simple and doesn’t hamper the experience of the website.
Other tools such as wpFoRo and Asgaros Forum are equally good for creating a community blog. They are lightweight tools that are easy to manage and integrate with your WordPress site easily. However, there is only one tiny problem; you need to have some technical knowledge to build a WordPress Community blog page.

4. Shortcodes
Since we gave you a problem in the previous section, we would also give you a perfect solution for it. You might not know to code, but you have shortcodes. Shortcodes help you execute functions without having to code. It is an easy way to build an amazing website, add new features, customize plugins easily. They are short lines of code, and rather than memorizing multiple lines; you can have zero technical knowledge and start building a feature-rich website or application.
There are also plugins like Shortcoder, Shortcodes Ultimate, and the Basics available on WordPress that can be used, and you would not even have to remember the shortcodes.

5. Build Online Stores
If you still think about why to use WordPress, use it to build an online store. You can start selling your goods online and start selling. It is an affordable technology that helps you build a feature-rich eCommerce store with WordPress.
WooCommerce is an extension of WordPress and is one of the most used eCommerce solutions. WooCommerce holds a 28% share of the global market and is one of the best ways to set up an online store. It allows you to build user-friendly and professional online stores and has thousands of free and paid extensions. Moreover as an open-source platform, and you don’t have to pay for the license.
Apart from WooCommerce, there are Easy Digital Downloads, iThemes Exchange, Shopify eCommerce plugin, and so much more available.

6. Security Features
WordPress takes security very seriously. It offers tons of external solutions that help you in safeguarding your WordPress site. While there is no way to ensure 100% security, it provides regular updates with security patches and provides several plugins to help with backups, two-factor authorization, and more.
By choosing hosting providers like WP Engine, you can improve the security of the website. It helps in threat detection, manage patching and updates, and internal security audits for the customers, and so much more.

Read More

#use of wordpress #use wordpress for business website #use wordpress for website #what is use of wordpress #why use wordpress #why use wordpress to build a website

Vicky  Graham

Vicky Graham


Instance Segmentation using Mask-RCNN with PixelLib and Python

Mastered image classification?

Pushed the boundaries of object detection?

Ready for the next big step when it comes to computer vision?

Get ready to sink your teeth into instance segmentation. In this video you’ll learn how to segment objects in real time using PixelLib. PixelLib is a flexible Python library that allows you to perform all types of segmentation. In this case you’ll learn how to leverage a pre-trained Mask-RCNN model which has been trained on the COCO dataset to be able to detect objects.

In this video you’ll learn:

  1. How to install PixelLib for Segmentation
  2. Download and load a pre-trained Mask R-CNN model
  3. Capture Real Time Video using your Webcam and OpenCV
  4. Apply real time instance segmentation to your OpenCV video feed

Get the code:

Oh, and don’t forget to connect with me!
Join the Discussion on Discord:

Happy coding!

P.s. Let me know how you go and drop a comment if you need a hand!

#python #pixellib #mask-rcnn

What is Mask Network (MASK) | What is Mask Network token | What is MASK token

Introducing the $MASK Token

NOTE:$MASK is not launched yet and not traded anywhere.


The initial growth of the Internet was fueled by the opportunity to explore and build a wild but virgin world, where people could freely converse with each other, speak their mind, and build whatever they had set their minds to. The Internet was once a free and decentralized world — everyone had the maximum freedom to innovate, create, and experiment. Everyone was equal. This pioneering and buccaneering culture gave rise to the advent of the Internet Age and the dominance of internet companies such as Google, Amazon, Facebook, Apple and Twitter in the everyday life of people.

However, as the tech giants grow increasingly more powerful, they slowly eat away individual privacy and freedom through big data. They start to rank us by our online trials and seek to bring the structural inequality of the real world to the virtual world. Consequently, the Internet also becomes more centralized, to such an extent that anyone can be silenced on social networks because of his opinions, that apps can be refused entry to Apple App Store simply because their beliefs and opinions differ from those of the Silicon Valley mainstream. It seems that as the Internet grows, the once free and fiercely individualistic virtual land has been gobbled up by tech giants and replaced with centralized online surveillance states. This strikes at the core of democracy, as sovereignty is gradually siphoned from the individuals at the grassroot level to the top.

We at Mask Network believe in democracy. We know that democratic freedom is a luxury because it relies on its constituents’ consensus and upholding of its principles by limiting their own actions. The social inequality caused by the irresponsible stewardship of governments and the financial sector over the past decades, however, has made the prospect of democracy dimmer than ever. If there was one thing cryptocurrency achieved, it gave the possibility that we, the individuals, can retrieve the power that we have given to the state, the corporates, and the financial sector. We have an alternative, a choice. We can — and need to — choose smart to help democracy continue to thrive in the 21st century. After all, democracy will not be able to thrive without democratic individuals. Even though everything seems to suggest an autocratic shift, and the democratic world seems to deteriorate, the seemingly very desperateness and frustration of the current situation brings its own remedy.

Due to the encroachment of personal privacy and liberty online, Mastodon, the most popular decentralized social media, has been growing rapidly, and Jack Dorsey, the founder of Twitter has backed a decentralized social media standard, Bluesky, in order to decentralize Twitter down the line. Moreover, there has been increasing discussion of the ownership economy. All of these attempts seek to curl power of the internet giants and give power back to the individuals. We at Mask Network have been deeply involved in these projects, managing two of the main instances on Mastodon with an active user base of 300,000, while providing technical support to Mastodon. Along with blockchain, decentralized social media are the pillars of Web 3.0. However, they have not focused on economic incentive engineering and have barely leveraged the potential of the market for large scale innovation. Leveraging market design to foster broad scale innovation on web decentralization is what Mask Network will focus on.

Mask Network

Mask is the bridge, Mask is the foundation, Mask is the meme.

Instead of creating a new platform, Mask Network aims to bridge Web 2.0 (the current web) and so-called Web 3.0, to empower the general public to use the better web within the current mainstream platforms, without using any API or centralized server. Our core goal is to maximize the freedom of interpretation on social media networks.

In order to achieve this mission, we have to build a layer of censorship-resistant, private, user-friendly network on top of the social networks without relying on their API. Thanks to great progress in cryptography and other Web 3.0 technology, (including blockchain, decentralized storage, and peer to peer networks, etc), the majority of the infrastructure is complete. Thus it enables us to move onto the second stage, building a decentralized applet ecosystem on top that could serve billions.

Next is to make it both user friendly and developer friendly so that we can achieve a two-sided network effect. Developers build or introduce various apps to Mask, users enjoy a wide range of Dapps. More developers are attracted due to popular demand. More users are drawn over due to even better utility of the app ecosystem. The flywheel goes on so that billions of social media users are eventually drawn over to Web 3.0 via Mask Network.

Over the past year, we have already brought many meaningful functional applets onto Twitter so users can send encrypted messages, store files permanently, display NFTs, and send crypto payments; In the finance category, users check token information and prices on Twitter, directly trade crypto using fiat, as well as issuing and participating in public offerings, all using our very light Chrome extension without leaving Twitter.

In the future, we will continue to improve user experience and expand the applet offerings to meet user needs and welcome any developers to help with the course. Layer-2 solutions and smart wallet will be introduced. Fiat onramp experience will be further streamlined. Pay-to-unlock will unlock an immense market of digital goods (NFT) and subscriptions. This mechanism provides a solid foundation for free online commerce over Twitter, Facebook and other social media.

As the decentralized “masked” layer on top of social media, we envision Mask Network to be a new world where anyone can build their privacy-respecting, decentralized network infrastructures, establishing the foundation for meaningful decentralized application ecosystems. Who says the privacy-respecting banking system of the 21st century has to be in Switzerland (no longer is due to FATCA)? Who says Tor can’t be on social media? Anyone who believes in self sovereignty and right to privacy can build on Mask Network and have easy access to the billions of users on social media platforms.

While we believe in freedom, we know that there is a responsibility that comes with it. Our ultimate goal is to see the emergence of a vibrant community on Mask Network that is not only free but also respects the freedom of others and resolves conflicts within the community. To achieve this, Mask community has to establish a self-governing structure. This governing imperative combined with the market-based innovation imperative led us to the conclusion that we need to introduce our own token $MASK.


$MASK is the native token of MaskDAO. The DAO is the owner of the Mask Ecosystem. $MASK holders are members of MaskDAO and possess ownership of the Mask Ecosystem through the DAO. As the native token, $MASK serves as incentives to facilitate governance. Each $MASK represents one vote. Overtime, Mask Network team and ecosystem members will develop more products and services that would accrue value to $MASK. Mask Network will continue to actively engage with top Web 3.0 and DeFi projects as we have done with MetaMask, Mirror, UniSwap, Uniswap, Transak, Coinmarketcap etc to expand use cases for $MASK.

- Governance — MaskDAO

Governance of the Mask Network Ecosystem is carried out by MaskDAO, consisting of $MASK token holders. It is the final decision maker on all matters related to $MASK and the parameters and usage of the fund in the Reserve. $MASK token holders vote by staking their token on proposal contracts during the voting period. A voting period typically lasts anywhere from 1 hour to 3 days. Only $MASK that has been locked in governance for the past seven days before a proposal voting session can be used to cast a vote during the voting period.

- $MASK Token Supply and Distribution

A total of 100,000,000 $MASK tokens is created at genesis. Below is the information of the previous rounds and the distribution of the token before the upcoming Initial Twitter Offering of $MASK.

- 3-Year Circulating Supply

Circulating supply is the outstanding balance of token that can be freely traded in the market at any point in time. The majority of $MASK supply is subject to long-term lockups. The initial circulating supply is made up of Public Sale of $MASK, the liquidity pool and airdrop. All supply created at genesis will be unlocked by month 36.

The chart below shows the gradual increase of the circulating supply as tokens unlock.

The table below shows the circulating supply for each year.

- Category Details

· Foundation Reserve

Foundation Reserve is governed by MaskDAO and is used for many things, including but not limited to providing community grants, developing developer community, building ecosystem, providing operations grants, creating partnerships and collaborations.

· Core Team

Mask Network is built by one of the most imaginative and strongest Web 3.0 team. Core team members have been in the growth of Mask Network and is important to its continued success. Every team member is subject to the same lock-up period of 36 months with a 6-month cliff.

· Prior Investors

Mask Network raised funds from investors over the years at 5 different price levels, whose details are showcased below.

· Airdrop

To thank those who have participated in our experiments and events, as well as those who have continuously supported the growth of DeFi and Web 3.0, we have decided to conduct airdrops not only to our community but also to the broader DeFi and Web 3.0 community. The airdropped tokens are not subjected to lock-up.

· Community Public Offering

To engage the broader community, we have allocated 7% of $MASK total supply in a two-stage public sale. The first stage will be fixed price token sales using ITO with an allocation of 3% of total supply. The second stage is an auction using Balancer liquidity bootstrap pool, with an allocation of 4% of total supply. The ITO stage could be considered as early bird special. The real market value of $MASK will be derived at the second stage. Tokens from public sales are not subjected to lock-up.

· Initial Liquidity Pool

Because our first trading pair is on Uniswap, we need to provide liquidity to the $MASK liquidity pools. The initial liquidity pool will be set up by Mask team.

We are going to publish another article in a few days to detail how the public launch and airdrop works.

$MASK LBP Tutorial


The second part of the Mask public offering, the $MASK LBP will launch at 3:00pm UTC+0, Feb 24th and end at 3:00am UTC+0, Feb 26th, a total of 36 hours. We will use the Liquidity Bootstrapping Pool (LBP) by Balancer to auction 4% of the total supply in order to derive and capture the true value of $MASK.

LBP (Liquidity Bootstrapping Pool) is a variant of dutch auction or reverse auction. Its price will drop if no one buys as time progresses. Please learn how it works before participating in LBP and stay within reasonable price ranges. Don‘t FOMO. Balancer changes the weight of its predetermined pool weight to push the price down if no participant is buying.

$MASK LBP Key Parameters

At the beginning of the LBP, we are going to put in 4,000,000 $MASK and $800,000 $USDC. The starting price is $3.9. Check out the table below for details:

Key Links

$MASK Token Address:




-Due to the mechanism of reverse auction, the price will trend down automatically if no one buys. The declining slope is the steepest at the very beginning. Stay rational before any trade decisions.

-The default max slippage is 0.5%. Set it higher if you are buying with a relatively large order.

How to Participate in LBP

How to Purchase

-After the LBP start at 3pm (GMT+0) Feb 24th, click and you will enter a page like the Picture 1 below.

-Press connect on the top right corner, choose a wallet as shown in Picture 2.

-After connecting your wallet, go back to the main page and select “Asset”.

  • $MASK LBP is paired with $USDC.
  • Please make sure that you have enough $ETH to pay for the gas in your wallet.
  • If you choose other assets, Balancer will automatically convert to $USDC and then trade for $MASK. The additional step could cause the increase in the transaction fees.

-Type in the contract address of $MASK. 0x69af81e73a73b40adf4f3d4223cd9b1ece623074

-Please make sure that you type in the correct address.

-Type in a reasonable amount at a reasonable price. Click “Swap”.

All done. Have fun staying with your MASK!

Would you like to earn TOKEN right now! ☞ CLICK HERE

How and Where to Buy Mask Network (MASK) ?

Mask Network is now live on the Ethereum mainnet. The token address for MASK is 0x69af81e73a73b40adf4f3d4223cd9b1ece623074. Be cautious not to purchase any other token with a smart contract different from this one (as this can be easily faked). We strongly advise to be vigilant and stay safe throughout the launch. Don’t let the excitement get the best of you.

Just be sure you have enough ETH in your wallet to cover the transaction fees.

You will have to first buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT), Binance (BNB)…

We will use Binance Exchange here as it is one of the largest crypto exchanges that accept fiat deposits.

Once you finished the KYC process. You will be asked to add a payment method. Here you can either choose to provide a credit/debit card or use a bank transfer, and buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT), Binance (BNB)…


Step by Step Guide : What is Binance | How to Create an account on Binance (Updated 2021)

Next step

You need a wallet address to Connect to Uniswap Decentralized Exchange, we use Metamask wallet

If you don’t have a Metamask wallet, read this article and follow the steps
What is Metamask wallet | How to Create a wallet and Use

Next step

Connect Metamask wallet to Uniswap Decentralized Exchange and Buy MASK token

Contract: 0x69af81e73a73b40adf4f3d4223cd9b1ece623074

Read more: What is Uniswap | Beginner’s Guide on How to Use Uniswap

The top exchange for trading in MASK token is currently Uniswap,, Huobi Global, OKEx, BitZ, CoinBene, and BKEX

Apart from the exchange(s) above, there are a few popular crypto exchanges where they have decent daily trading volumes and a huge user base. This will ensure you will be able to sell your coins at any time and the fees will usually be lower. It is suggested that you also register on these exchanges since once MASK gets listed there it will attract a large amount of trading volumes from the users there, that means you will be having some great trading opportunities!

Top exchanges for token-coin trading. Follow instructions and make unlimited money

Find more information MASK

WebsiteExplorerSocial ChannelSocial Channel 2Social Channel 3Coinmarketcap

🔺DISCLAIMER: The Information in the post is my OPINION and not financial advice, is intended FOR GENERAL INFORMATION PURPOSES ONLY. Trading Cryptocurrency is VERY risky. Make sure you understand these risks and that you are responsible for what you do with your money.

🔥 If you’re a beginner. I believe the article below will be useful to you

⭐ ⭐ ⭐ What You Should Know Before Investing in Cryptocurrency - For Beginner ⭐ ⭐ ⭐

I hope this post will help you. Don’t forget to leave a like, comment and sharing it with others. Thank you!

#blockchain #bitcoin #crypto #mask network #mask

Dominic  Feeney

Dominic Feeney


Semantic Segmentation with TensorFlow Keras - Analytics India Magazine


Semantic Segmentation laid down the fundamental path to advanced Computer Vision tasks such as object detectionshape recognitionautonomous drivingrobotics, and virtual reality. Semantic segmentation can be defined as the process of pixel-level image classification into two or more Object classes. It differs from image classification entirely, as the latter performs image-level classification. For instance, consider an image that consists mainly of a zebra, surrounded by grass fields, a tree and a flying bird. Image classification tells us that the image belongs to the ‘zebra’ class. It can not tell where the zebra is or what its size or pose is. But, semantic segmentation of that image may tell that there is a zebra, grass field, a bird and a tree in the given image (classifies parts of an image into separate classes). And it tells us which pixels in the image belong to which class.

In this article, we discuss semantic segmentation using TensorFlow Keras. Readers are expected to have a fundamental knowledge of deep learning, image classification and transfer learning. Nevertheless, the following articles might fulfil these prerequisites with a quick and clear understanding:

  1. Getting Started With Deep Learning Using TensorFlow Keras
  2. Getting Started With Computer Vision Using TensorFlow Keras
  3. Exploring Transfer Learning Using TensorFlow Keras

Let’s dive deeper into hands-on learning.

#developers corner #densenet #image classification #keras #object detection #object segmentation #pix2pix #segmentation #semantic segmentation #tensorflow #tensorflow 2.0 #unet

Samanta  Moore

Samanta Moore


Avoid Method Chaining When Using Multiple AutoCloseable Instances

Keep API design in mind.

The try-with-resources statement introduced in Java 7 allows us to adopt an approach where certain objects could be opened, being visible in the try block, and immediately closed when the execution reaches the end of that scope. This was a huge improvement for managing scarce resources, in comparison with the old approach of overriding the finalize() method (which we never exactly know when will be executed.)

Over the years, I was repeatedly seeing the following approach on some applications, which motivated me to write this post. Consider this code snippet for executing an SQL statement using JDBC:



import javax.sql.DataSource;


import java.sql.*;




  public BigDecimal getSum(long empId) throws SQLException {


    String sql = "select sum(salary) from payroll where empId=?";


    try(PreparedStatement stmt = myDataSource.getConnection().prepareStatement(sql)) {


      stmt.setLong(1, empId);


      try(ResultSet rs = stmt.executeQuery()) {


        if (


          return rs.getBigDecimal(1);


        return BigDecimal.ZERO;









What the code does is unimportant, but the connection handling is very important. The outer try-with-resources ensures that at the end of its block, the PreparedStatement will be closed. The same thing goes with the ResultSet in the inner try-with-resources.

Here is the catch: the Connection object returned from the DataSource will never be closed. Since it was not bound to any variable inside the try-with-resources, according to the JLS (see References), the resource in the outer try-with-resources is of type PreparedStatement. As a result, the Connection instance is not participating in the statement, and so its close() method is never called.

The solution is easy: declare a variable referencing the resource you want to be auto-closed.

#java #java resources #multiple autocloseable instances #avoid method chaining #using multiple autocloseable instances