This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import datetime | |
| import imutils | |
| import math | |
| import cv2 | |
| import numpy as np | |
| width = 800 | |
| textIn = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| import numpy as np | |
| # Create a VideoCapture object and read from input file | |
| # If the input is the camera, pass 0 instead of the video file name | |
| cap = cv2.VideoCapture('video.mp4') | |
| # Check if camera opened successfully | |
| if (cap.isOpened()== False): | |
| print("Error opening video stream or file") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.*; | |
| import java.util.*; | |
| public class java_notu { | |
| public static void main(String[] args) throws FileNotFoundException{ | |
| File f= new File("/home/ayyuce/Desktop/java.txt"); | |
| Scanner sc= new Scanner(f); | |
| String substr="", tmp="", str=""; | |
| int[] arr= new int[3]; | |
| int max= arr[0]; | |
| int i, index; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.*; | |
| import java.util.*; | |
| public class java_notu { | |
| public static void main(String[] args) throws FileNotFoundException{ | |
| File f= new File("/home/ayyuce/Desktop/java.txt"); | |
| Scanner sc= new Scanner(f); | |
| String substr="", tmp="", str=""; | |
| int[] arr= new int[3]; | |
| int max= 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.applet.*; | |
| import java.awt.*; | |
| public class cos extends Applet{ | |
| // author @ayyuce | |
| // This program draws cos line | |
| public void paint(Graphics g){ | |
| g.setColor(Color.BLUE); | |
| g.drawLine(50, 300, 750, 300); | |
| g.drawLine(400, 50, 400, 550); | |
| g.drawLine(750, 300, 725, 325); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package anagram; | |
| import java.util.Arrays; | |
| public class checkForAnagram { | |
| public static boolean _checkForAnagram(String first, String second ) { | |
| int size1= first.length(), size2=second.length(), count=0; | |
| char[] f=new char[size1]; | |
| char[] s= new char[size2]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://storage.googleapis.com/cloud-iot-edge-pretrained-models/edgetpu_api.tar.gz | |
| tar xzf edgetpu_api.tar.gz | |
| cd python-tflite-source | |
| bash ./install.sh | |
| Caution: During installation, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2019 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2019 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |