Skip to content

Instantly share code, notes, and snippets.

View csvance's full-sized avatar

Carroll Vance csvance

  • Houston, Texas
View GitHub Profile
syms t;
syms C;
syms y;
syms r;
syms y;
syms x;
syms Y;
syms X;
hw_problem = '2.1 #24';
import cv2
cap = cv2.VideoCapture(0)
final_frame = None
initial_frame = None
while True:
# Capture frame-by-frame
ret, frame = cap.read()
clf
hold on
disp("Note: You must define the CX output as the general solution here after running one time for this code to work")
syms y(x) x d C2 C4
xrange = -5:0.1:5;
yrange = -10:0.1:10;
% Quiver
%ode = @(y, x) (x+2*y^2)/(2*y*x);
<launch>
<arg name="serial_no" default=""/>
<arg name="json_file_path" default=""/>
<arg name="camera" default="camera"/>
<arg name="tf_prefix" default="$(arg camera)"/>
<arg name="fisheye_width" default="640"/>
<arg name="fisheye_height" default="480"/>
<arg name="enable_fisheye" default="true"/>
import keras
from keras.models import Model
from keras import backend as K
from keras.layers import Dense, Activation
import tensorflow as tf
from tensorflow.contrib import tensorrt as tftrt
import copy
import numpy as np
import sys
import copy
import numpy as np
import sys
import time
import plac
class FrozenGraph(object):
def __init__(self, model, shape):
import tensorflow.keras as keras
import cv2
import numpy as np
import os
import imgaug as ia
from imgaug import augmenters as iaa
import tensorflow.keras as keras
from tensorflow.keras.losses import mean_absolute_error, mean_squared_error
from tensorflow.keras.models import Model