Comments (2)
I also get a similar error running the example posted on my mac.
# points
image = np.zeros((64, 64, 3), dtype=np.uint8)
kps = [ia.Keypoint(x=10.5, y=20.5), ia.Keypoint(x=60.5, y=60.5)]
kpsoi = ia.KeypointsOnImage(kps, shape=image.shape)
image_with_kps = kpsoi.draw_on_image(image, size=7, color=(0, 0, 255))
ia.imshow(image_with_kps)
I get the error message:
File "/Users/macbook/Projects/PythonML/mlkit/lib/python3.9/site-packages/imgaug/imgaug.py", line 2120, in imshow
fig.canvas.set_window_title("imgaug.imshow(%s)" % (image.shape,))
AttributeError: 'FigureCanvasMac' object has no attribute 'set_window_title'
My error seems to thrown from the same function, but the error seems slightly different on the Mac.
from imgaug.
This worked for me:
Open "imgaug.py" file, change line 2120 to:
fig.canvas.manager.set_window_title("imgaug.imshow(%s)" % (image.shape,))
from imgaug.
Related Issues (20)
- Project dependencies may have API risk issues
- Is this project abandoned? HOT 8
- how to use imgaug to aug single image just one time?
- Out Of Memory (OOM) error in perspective transformation
- Support for Oriented Bouding Boxes
- AttributeError: module 'imgaug.augmenters' has no attribute 'LinearmnContrast' HOT 1
- numpy 1.20 bool deprecation HOT 1
- PIL version leads to immutable error
- It doesnt support latestversion of numpy HOT 2
- Track Random Augmentations as They Are Applied
- how to generate such image effect from clear images? I want to simulate scanner effects
- ImportError: cannot import name 'QhullError' from 'scipy.spatial' (/opt/conda/lib/python3.10/site-packages/scipy/spatial/__init__.py) HOT 3
- [BUG] show_grid and draw_grid are incompatible
- AttributeError: 'Delaunay' object has no attribute 'vertices'
- Affine transformation with warp mode doesn't "roll" keypoints
- "Fliplr" I am not sure what is wrong with this operation,
- "Fliplr", after applying this operation labels got disturbed
- Augment only parts of the image
- Adding BlendAlphaSimplexNoise into an augmentation sequence fails to convert keypoints
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgaug.