CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 14:09:39 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=4eca5712b87f338dd63c169601cf0dfd4fb5339e455106c8653844e8e5102b63a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22zs4mEYHgHTZDkUN8oT_F0lqYRZNwSgTH%22%3B%7D; HttpOnly; Path=/
cf-ray: 98ceefbcde57e9c3-BLR
opencv-vala-mx - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using OpenCV;
- using Mx;
- int main (string[] args) {
- IPL.Image img = new IPL.Image.load("/var/www/test/image.jpg");
- stdout.printf("Width: %d\n", img.width);
- stdout.printf("Height: %d\n", img.height);
- Clutter.init (ref args);
- var stage = new Clutter.Stage();
- stage.delete_event.connect((ev) => {
- Clutter.main_quit();
- return true;
- });
- stage.set_size (img.width, img.height);
- stage.user_resizable = true;
- var data = img.image_data;
- Image im = new Mx.Image();
- im.set_from_data(
- data, //Raw image data
- Cogl.PixelFormat.RGB_888, //Colorspace
- img.width, //Width of image
- img.height, //Height of image
- img.width_step //Row stride
- );
- stage.add_actor ( im );
- stage.show ();
- Clutter.main ();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐MAKE $500 IN 15 MIN⭐⭐
Java | 7 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 3
JavaScript | 9 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 16 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $500 IN 15 MIN⭐⭐
Java | 18 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ L
JavaScript | 20 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 28 sec ago | 0.24 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 29 sec ago | 0.10 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 2
JavaScript | 31 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand