Python Fiddle Logopython-fiddle.com
AI Data Analyst Sign In
Python
import cv2 as cv2
import numpy as np

print(f'cv2 v.{cv2.__version__}')

x = np.uint8([250])
y = np.uint8([10])
z = cv2.add(x,y)

print(x.shape)
print(y.shape)
print(z.shape)

print(z)
Click Run or press shift + ENTER to run code
cv2 v.4.10.0
(1,)
(1,)
(4, 1)
[[260.]
 [  0.]
 [  0.]
 [  0.]]

Footer

Packages

  • Altair
  • Biopython
  • Bokeh
  • Bokeh App
  • python-docx
  • DuckDB
  • Faker
  • Folium
  • GeoPandas
  • getpass
  • igraph
  • Matplotlib
  • NetworkX
  • Numpy
  • OpenAI
  • OpenCV
  • openpyxl
  • Pandas
  • Panel App
  • Pillow
  • Pingouin
  • Plotly
  • Polars
  • python-pptx
  • ReportLab
  • Scipy
  • Seaborn
  • Scikit-Image
  • Scikit-Learn
  • SQLite3
  • Statsmodels
  • SymPy
  • Treelib
  • xlsxwriter

Use Cases

  • For Students
  • For Educators
  • For Data Scientists
  • For Developers
  • Jupyter AI Online

Company

  • Affiliate Program
  • Contact
  • Terms and Conditions
  • Privacy Policy

Online Coding Challenges

  • Newbie To Python
  • Beginner Python
  • Intermediate Python
  • Advanced Python

Tools

  • Chrome Extension
  • AI Graph Generator
  • AI Statistics Solver
  • AI Math Solver
  • Blogging With Jupyter Notebooks
  • DB Fiddle - Online SQL Playground
  • AI Python Tutor
  • Regex Playground
  • Python Visualizer
  • DuckDB Playground
  • JWT Debugger
  • Cron Job Parser
  • Markdown Editor
  • Pyp5js playground
  • URL Decoder
  • URL Encoder
  • UUID Generator
  • Base64 Image Encoder/Decoder
  • Base64 String Encoder/Decoder
  • Number Base Converter

© 2026 python-fiddle.com. All rights reserved.