Capture video in OPENCV

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: stopflag = 1; System.loadLibrary(“opencv_java300”); vc = new VideoCapture(0); Thread t = new Thread(){ @Override public void run() { while (true) { if (vc.isOpened()) { Mat m = new Mat(); vc.read(m); ImageIcon i = new ImageIcon(Mat2bufferedImage(m)); jLabel3.setIcon(i); jLabel3.repaint(); if (stopflag == 0) { vc.release();

Hindu Scripture weapon and Science-Technology [1]

Lord Shiva’s Teen Baan Visualization of Teen Bann Myths Lord Shiva gave Barbarika three infallible arrows (Teen Baan). A single arrow was enough to destroy all opponents in any war, and it would then return to Barbarika’s quiver. The first arrow is used to mark all the things that Barbarika wants to destroy. On releasing

Matlab_httpServer

Matlab_httpServer is Javabased http server implementation to run Matlab (.M file) code over http request. Here are developing intermediate application (http Server) which communicate with different IoT Device (like Rpi) and get Executed on server. Result submitted to Rpi device over internet (by HTTP Protocol). Visit Project Page: https://github.com/Drjslab/Matlab_httpServer Citation [1] https://github.com/Drjslab/Matlab_httpServer/wiki

Demo of I18N (Internationalization) with JAVA

I18N is called Internationalization, which supports Multiparty language in your software. again its not convert one language to other language but Display selected language from “Properties” file. Crate I18nDemo.java file Copy the following code.    import java.util.*; public class I18nDemo { private static Locale aLocale; private static Locale frLocale; private static ResourceBundle Message; public static

Lenz’s law for Social Activity.

Lenz’s law states that the current induced in a circuit due to a change or a motion in a magnetic field is so directed as to oppose the change in flux and to exert a mechanical force opposing the motion [1]. Most of the human and animal try ones in life to oppose those entity,

GEETA SAAR IN SCIENTIFIC WAY

Welcome to “Proton V/S God”. Here we try to discover new Idea from Holy Literature. We find way to meet god (an almighty or Energy). To build new philosophy of Life. We cross check Myth and Science. Today Topic is “Geeta Saar” in Science. [#2]In mathematics equation teach us that, there may be any things

Make your own Java webServer

import java.net.*; import java.io.*; class myserver { public static void main(String str[]) { String myIp=null; int port=786; try{ //Get Systems current ip address myIp= Inet4Address.getLocalHost().getHostAddress(); System.out.println(“Server is Running with “+ myIp +”:”+ port); //Create Server Socket ServerSocket welcome = new ServerSocket(port); //Accept incomming connection Socket Socket sskt = welcome.accept(); PrintWriter out = new PrintWriter(sskt.getOutputStream()); //Create