semillerocv / hands-on-computer-vision Goto Github PK
View Code? Open in Web Editor NEWsemillero computer vision
Home Page: https://semillerocv.github.io/
semillero computer vision
Home Page: https://semillerocv.github.io/
The problem is that a RAM overflow is generated when processing the spectral image. The easiest solution that worked for me to run the entire notebook is to use fewer channels from the time the spectral angles are calculated onwards.
For example: result_sam = spectral.algorithms.spectral_angles(cube[600:,::,:,:], materials_matrix)
. Or simply when loading the cube use maximum 600-700 bands.
When running the Notebook some problems are generated when executing the last cells, but they are due to some parameters received by the remap
function of cv2 inside the undistortRectify
function.
I have a slightly different version of the code that generates the same output as the original and it works in practice.
def undistortRectify(imageR, imageL, stereoMapL_x=stereoMapL[1], stereoMapL_y=stereoMapL[0], stereoMapR_x=stereoMapR[0], stereoMapR_y=stereoMapR[1]):
# Undistort and rectify images
undistortedL= cv.remap(imageL, stereoMapL_x, stereoMapL_y, cv.INTER_LANCZOS4, cv.BORDER_CONSTANT, 0)
undistortedR= cv.remap(imageR, stereoMapR_x, stereoMapR_y, cv.INTER_LANCZOS4, cv.BORDER_CONSTANT, 0)
return undistortedR, undistortedL
With the current documentation and hints I suffered a bit realizing the notebook, it would be nice some more help about:
SPICEParameters()
class.SPICE()
.We have to modify that equation, otherwise the function below to implement that equation does not work. Related documentation:
I noticed that the data loading, visualization, dataset and dataloader sections seem to be based on a Kaggle notebook (link). However, some important topics, such as the explanation of the UNET model and the training, evaluation and inference loops, are not detailed.
If it is OK with you, I could propose an improved version that includes additional documentation and references to tutorials that could be useful to develop the notebook more completely.
It would be nice to add %%capture in some cells to make the notebooks cleaner.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.